JP4693427B2 - Digital broadcast receiver - Google Patents

Digital broadcast receiver Download PDF

Info

Publication number
JP4693427B2
JP4693427B2 JP2005019546A JP2005019546A JP4693427B2 JP 4693427 B2 JP4693427 B2 JP 4693427B2 JP 2005019546 A JP2005019546 A JP 2005019546A JP 2005019546 A JP2005019546 A JP 2005019546A JP 4693427 B2 JP4693427 B2 JP 4693427B2
Authority
JP
Japan
Prior art keywords
digital broadcast
picture
head
video
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005019546A
Other languages
Japanese (ja)
Other versions
JP2006211201A (en
Inventor
一廣 家田
加奈子 松浪
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2005019546A priority Critical patent/JP4693427B2/en
Publication of JP2006211201A publication Critical patent/JP2006211201A/en
Application granted granted Critical
Publication of JP4693427B2 publication Critical patent/JP4693427B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、ディジタル放送を受信するディジタル放送受信装置に関する。   The present invention relates to a digital broadcast receiving apparatus that receives a digital broadcast.

ディジタル放送は、トランスポート・ストリーム(TS)形式で放送される。また、映像及び音声はパケッタイズド・エレメンタリー・ストリーム(PES)形式で伝送される(特許文献1参照)。
特開2004−350217号公報
Digital broadcasting is broadcast in the transport stream (TS) format. Video and audio are transmitted in a packetized elementary stream (PES) format (see Patent Document 1).
JP 2004-350217 A

PESは複数のTSパケットから構成されるため、PESの先頭データを受け取ってからPESが完成するまでには幾分の時間がかかる。そして、一つのPESによって一枚のピクチャが構成されており、PESの完成を待って映像デコードを行うことになる。   Since the PES is composed of a plurality of TS packets, it takes some time until the PES is completed after the head data of the PES is received. One PES forms one picture, and video decoding is performed after the PES is completed.

ところで、地上ディジタル放送では、1セグメントサービスが行われる。そして、この1セグメントサービスの映像符号化方式として、H.264規格が採用される予定である。H.264では、アクセス・ユニット(AU)という単位が存在しており、一つのAUによって一枚のピクチャ(IDR,non IDR)が作成される。そして、1セグメントサービスでは、一つの映像PESに複数のAUを含める運用が可能である。 By the way, in terrestrial digital broadcasting, one segment service is performed. As a video encoding method for this one segment service, H.264 is used. The H.264 standard will be adopted. H. In H.264, a unit called an access unit (AU) exists, and one picture (IDR, non) is generated by one AU. IDR) is created. In the one segment service, it is possible to operate by including a plurality of AUs in one video PES.

この発明は、上記の事情に鑑み、或るデータ単位内に複数のピクチャが含まれるデータ転送方式が採用される場合に、前記ピクチャに対する迅速なデコード及び前記ピクチャの不所望な廃棄といった事態を防止することができるディジタル放送受信装置を提供することを目的とする。   In view of the above circumstances, the present invention prevents a situation such as rapid decoding of a picture and undesired disposal of the picture when a data transfer method in which a plurality of pictures are included in a certain data unit is adopted. An object of the present invention is to provide a digital broadcast receiving apparatus capable of performing the above.

この発明のディジタル放送受信装置は、上記課題を解決するために、受信した地上ディジタル放送波を復調してストリームを生成するディジタル放送受信装置において、前記ストリームから映像パケットを取得して複数の符号化ピクチャから成る所定データ単位を生成する第1の手段と、前記符号化ピクチャの先頭を検出し、一つの符号化ピクチャが完成したと判断するごとに、当該完成した一つの符号化ピクチャを映像デコードする第2の手段と、を備えたことを特徴とする。   In order to solve the above problems, a digital broadcast receiving apparatus according to the present invention is a digital broadcast receiving apparatus that generates a stream by demodulating a received terrestrial digital broadcast wave. First means for generating a predetermined data unit composed of pictures, and detecting the head of the coded picture and decoding the completed one coded picture each time it is determined that one coded picture is completed And a second means.

上記構成において、前記所定データ単位は一つのパケッタイズド・エレメンタリー・ストリーム(PES)であり、前記符号化ピクチャ単位はH.264規格におけるアクセス・ユニット(AU)であってもよい。ここで、一つのPESに複数のAUを含めることができる運用において、PESが完成するまでAUのデコードを行わないのでは、時間のロスとなり、デコードが間に合わない可能性が生じる。また、PESが完成するまでAUのデコードを行わないのでは、PESの受信が途中で失敗した場合に、完成済みのAUがデコードされないことになり、映像表示が大きく途切れてしまうおそれがある。本発明の構成であれば、前述のような事態を防止できる。すなわち、一つの符号化ピクチャ(例えば、AU)が完成したと判断するごとに、当該完成した一つの符号化ピクチャをデコーダに供給するので、デコードの時間ロスを軽減できると共に、たとえ、所定データ単位(例えば、PES)の全体の取得に失敗した場合でも、完成済みの符号化ピクチャ(例えば、AU)についてはデコードが行われるので、極力、映像を表示できることになる。   In the above configuration, the predetermined data unit is one packetized elementary stream (PES), and the coded picture unit is H.264. It may be an access unit (AU) in the H.264 standard. Here, in an operation in which a plurality of AUs can be included in one PES, if AU decoding is not performed until the PES is completed, time is lost, and decoding may not be in time. If the AU is not decoded until the PES is completed, if the PES reception fails in the middle, the completed AU is not decoded and the video display may be largely interrupted. If it is the structure of this invention, the above situations can be prevented. That is, every time it is determined that one encoded picture (for example, AU) is completed, the completed one encoded picture is supplied to the decoder, so that it is possible to reduce decoding time loss and, for example, a predetermined data unit. Even when acquisition of the entire (for example, PES) fails, a completed encoded picture (for example, AU) is decoded, so that video can be displayed as much as possible.

これら構成のディジタル放送受信装置において、前記所定データ単位の先頭を検出したときに先頭検出通知を行う第3の手段を備え、前記第2の手段は前記第3の手段から前記先頭検出通知を受けたときに前記符号化ピクチャの先頭を検出する処理を開始することとしてもよい。   The digital broadcast receiving apparatus having the above-described configuration further includes third means for notifying the head detection when the head of the predetermined data unit is detected, and the second means receives the head detection notification from the third means. It is also possible to start processing for detecting the head of the coded picture.

これら構成のディジタル放送受信装置において、前記第2の手段は、前記先頭検出通知を受けてから第1回目の符号化ピクチャの先頭の検出した後、第2回目以降の符号化ピクチャの先頭を検出できたときに各検出以前の符号化ピクチャが完成されたと判断することとしてもよい。   In the digital broadcast receiving apparatus having these configurations, the second means detects the head of the first encoded picture after receiving the head detection notification, and then detects the head of the second and subsequent encoded pictures. When it is possible, it may be determined that the coded picture before each detection is completed.

これら構成のディジタル放送受信装置において、前記第2の手段は、符号化ピクチャの先頭が既に検出されている状態で前記先頭検出通知を受けたときに、前記所定データ単位内の最後の符号化ピクチャが完成されたと判断することとしてもよい。   In the digital broadcast receiving apparatus having these configurations, when the second means receives the head detection notification in a state where the head of the encoded picture has already been detected, the second encoded picture in the predetermined data unit It may be determined that is completed.

これら構成のディジタル放送受信装置において、前記符号化ピクチャは、それ自体でデコードが可能な独立ピクチャ及び前記独立ピクチャを参酌してデコードが行える付随ピクチャ群から成り、前記独立ピクチャが得られていない場合及び独立ピクチャのデコードが失敗した場合には、映像デコードが行えない状態であると判断し、前記符号化ピクチャの先頭を検出する処理をスキップするように構成されていてもよい。かかる構成であれば、無意味な前記検出処理は省かれ、処理負担が軽減される。上記構成のディジタル放送受信装置において、映像デコードが行えない状態であると判断した以降に、前記所定データ単位が完成されたと判断したときには、映像デコード可能状態であると判断するのがよい。   In the digital broadcast receiving apparatus having these configurations, the coded picture is composed of an independent picture that can be decoded by itself and an accompanying picture group that can be decoded in consideration of the independent picture, and the independent picture is not obtained. If the decoding of the independent picture fails, it may be determined that the video cannot be decoded, and the process of detecting the head of the coded picture may be skipped. With such a configuration, the meaningless detection process is omitted, and the processing load is reduced. In the digital broadcast receiving apparatus having the above configuration, when it is determined that the predetermined data unit is completed after it is determined that the video cannot be decoded, it may be determined that the video can be decoded.

この発明によれば、或るデータ単位内に複数のピクチャが含まれるデータ転送方式が採用される場合に、前記ピクチャに対する迅速なデコード及び前記ピクチャの不所望な廃棄といった事態を防止することができるという効果を奏する。   According to the present invention, when a data transfer method in which a plurality of pictures are included in a certain data unit is adopted, it is possible to prevent a situation such as rapid decoding of the picture and undesired discarding of the picture. There is an effect.

以下、この発明の実施形態のディジタル放送受信装置を図1乃至図7に基づいて説明する。なお、ここでは、TV付き携帯電話として構成された地上ディジタル放送受信装置を例示している。   A digital broadcast receiver according to an embodiment of the present invention will be described below with reference to FIGS. Here, a digital terrestrial broadcast receiver configured as a mobile phone with a TV is illustrated.

図1はTV付き携帯電話10を示したブロック図である。このTV付き携帯電話10は、電話機能部30とディジタル放送受信部20とを備えて成る。電話機能部30は、制御部31と、無線通信部32と、音声処理部33と、メモリ部34と、キー入力部(操作部)35と、表示部(例えば、液晶パネル)36と、データ処理部37とを備えて成る。通常の電話処理において受信した音声信号は音声処理部33を介してスピーカ38に与えられる一方、ユーザの発した音声はマイク39にて音声信号となり、音声処理部33で増幅等の処理がなされた音声信号は無線通信部32によって送出される。データ処理部37は受信したパケットに対する処理を行う。無線通信部32は、音声やデータの送受信処理、基地局60との間での所定のプロトコル処理(送信時処理、受信時処理)を行う。制御部31は電話機能部30における全体制御を行うと共に、ディジタル放送受信部20との間の連携のための処理を行う。例えば、基本的な処理として、キー入力部35においてテレビ機能起動キーがON操作されたときには、ディジタル放送受信部20にON指令を与え、ディジタル放送受信部20から出力される映像を表示部36に与える処理や、キー入力部35のテンキーが操作されたときに、その番号をチャンネル番号とする選局指令をディジタル放送受信部20に与える処理などを行う。   FIG. 1 is a block diagram showing a mobile phone 10 with a TV. The mobile phone with TV 10 includes a telephone function unit 30 and a digital broadcast receiving unit 20. The telephone function unit 30 includes a control unit 31, a wireless communication unit 32, a voice processing unit 33, a memory unit 34, a key input unit (operation unit) 35, a display unit (for example, a liquid crystal panel) 36, data And a processing unit 37. The voice signal received in the normal telephone process is given to the speaker 38 via the voice processing unit 33, while the voice uttered by the user is converted into a voice signal by the microphone 39 and subjected to processing such as amplification by the voice processing unit 33. The audio signal is sent out by the wireless communication unit 32. The data processing unit 37 performs processing on the received packet. The wireless communication unit 32 performs voice and data transmission / reception processing and predetermined protocol processing (transmission time processing and reception time processing) with the base station 60. The control unit 31 performs overall control in the telephone function unit 30 and performs processing for cooperation with the digital broadcast receiving unit 20. For example, as a basic process, when the TV function activation key is turned on in the key input unit 35, an ON command is given to the digital broadcast receiving unit 20, and the video output from the digital broadcast receiving unit 20 is displayed on the display unit 36. A process of giving the digital broadcast receiving unit 20 a channel selection command with the number as a channel number when the numeric keypad of the key input unit 35 is operated is performed.

次に、ディジタル放送受信部20を図2に基づいて説明していく。地上アンテナ1は受信した信号を地上波ディジタルチューナ2に与える。地上波ディジタルチューナ2は、映像・音声データを含む高周波ディジタル変調信号のうちから特定周波数の信号を取り出す。また、地上波ディジタルチューナ2は、復調回路、逆インタリーブ回路、誤り訂正回路などを備え、選択したディジタル変調信号を復調してトランスポート・ストリームを出力する。このトランスポート・ストリームは、バッファメモリ3を経てデマルチプレクサ(DEMUX)4に供給される。   Next, the digital broadcast receiver 20 will be described with reference to FIG. The terrestrial antenna 1 gives the received signal to the terrestrial digital tuner 2. The terrestrial digital tuner 2 extracts a signal having a specific frequency from the high-frequency digital modulation signal including video / audio data. The terrestrial digital tuner 2 includes a demodulation circuit, a deinterleave circuit, an error correction circuit, etc., and demodulates the selected digital modulation signal to output a transport stream. This transport stream is supplied to a demultiplexer (DEMUX) 4 via a buffer memory 3.

デマルチプレクサ4は、前記トランスポート・ストリームを、IEEEにおけるH.264などの映像PES、音声PES、及びPSI/SI(Program Specific Information/Service Information)などに分離する。   The demultiplexer 4 converts the transport stream into the H.264 format in IEEE. H.264 and other video PES, audio PES, and PSI / SI (Program Specific Information / Service Information).

映像PESは、AU切取部5を経て映像デコーダ6Vに供給され、音声PESは音声デコーダ6Aに供給される。AU切取部5は、例えば、前記映像PESであるデータ列を一時的に保持するバッファ部と、前記データ列中にアクセス・ユニット(AU)のスタート・コードが存在するかどうかを判定する判定部と、一つのAUが完成される度に前記AUを映像デコーダ6Vに供給するデータ出力部とから成る。AU切取部5の動作の詳細については後述する。映像デコーダ6Vは、入力された符号化信号を復号して量子化係数や動きベクトルを求め、逆DCT変換や動きベクトルに基づく動き補償制御などを行う。音声デコーダ6Aは、入力された符号化信号を復号して音声データを生成する。デコードにより生成された映像データは映像処理回路7に出力され、音声データは音声処理回路8に出力される。   The video PES is supplied to the video decoder 6V via the AU cutting unit 5, and the audio PES is supplied to the audio decoder 6A. The AU cutout unit 5 includes, for example, a buffer unit that temporarily holds the data sequence that is the video PES, and a determination unit that determines whether or not a start code of an access unit (AU) exists in the data sequence And a data output unit for supplying the AU to the video decoder 6V each time one AU is completed. Details of the operation of the AU cutting unit 5 will be described later. The video decoder 6V decodes the input encoded signal to obtain a quantization coefficient and a motion vector, and performs inverse DCT conversion, motion compensation control based on the motion vector, and the like. The audio decoder 6A decodes the input encoded signal to generate audio data. The video data generated by the decoding is output to the video processing circuit 7, and the audio data is output to the audio processing circuit 8.

映像処理回路7は前記映像データに基づいて表示部36を駆動するための駆動データを生成する。音声処理回路8は音声デコーダ6Aから出力された音声データを受け取ってD/A変換を行い、例えば右(R)音のアナログ信号及び左(L)音のアナログ信号を生成する。これら音声信号はスピーカ38又は通話用とは別に設けられた図示しないスピーカに供給される。   The video processing circuit 7 generates drive data for driving the display unit 36 based on the video data. The audio processing circuit 8 receives the audio data output from the audio decoder 6A and performs D / A conversion to generate, for example, a right (R) sound analog signal and a left (L) sound analog signal. These audio signals are supplied to the speaker 38 or a speaker (not shown) provided separately from the telephone.

メモリ(例えば、RAM、EEPROM、フラッシュメモリ等)14には、チャンネルテーブルなどが格納される。   A memory (eg, RAM, EEPROM, flash memory, etc.) 14 stores a channel table and the like.

CPU13はOSD(オンスクリーンディスプレイ)機能を備えており、文字情報や色情報に基づく映像データを映像処理回路7に供給する。また、CPU13は、ディジタル放送受信部20における各回路を制御する。   The CPU 13 has an OSD (On Screen Display) function, and supplies video data based on character information and color information to the video processing circuit 7. The CPU 13 controls each circuit in the digital broadcast receiving unit 20.

ところで、地上ディジタル放送では、図7に示すように、放送データは、トランスポート・ストリーム・パケット(Transport Stream Packet)と呼ばれる固定長のデータからなるトランスポート・ストリーム(Transport Stream)で構成されている。各TSパケットには映像データ、音声データなどの各データによってPIDが割り振られており、PIDによってデマルチプレクサ4は各データを分離する。   By the way, in terrestrial digital broadcasting, as shown in FIG. 7, the broadcast data is composed of a transport stream (Transport Stream) made up of fixed-length data called a transport stream packet (Transport Stream Packet). . Each TS packet is assigned a PID based on data such as video data and audio data, and the demultiplexer 4 separates the data based on the PID.

地上波ディジタル放送の携帯電話用放送(1セグメントサービス)において、映像符号化方式はIEEEのH.264規格が採用される。H.264規格に含まれるピクチャには、IDRピクチャ(独立ピクチャ)とnon_IDRピクチャ(付随ピクチャ)があり、IDRピクチャからデコードすると正常にデコードができることが保証されている。   In terrestrial digital broadcasting for mobile phones (one-segment service), the video encoding method is IEEE H.264. The H.264 standard is adopted. H. The pictures included in the H.264 standard include an IDR picture (independent picture) and a non_IDR picture (accompanying picture), and it is guaranteed that the picture can be normally decoded when decoded from the IDR picture.

また、H.264規格では、映像PESにおいてアクセス・ユニット(AU)という単位が存在しており、一つのAUによって一枚のピクチャ(IDR,non_IDR)が作成される。そして、1セグメントサービスでは、一つのPESに複数のAUを含める運用が可能である。   H. In the H.264 standard, a unit called an access unit (AU) exists in the video PES, and one picture (IDR, non_IDR) is created by one AU. In the one segment service, it is possible to operate by including a plurality of AUs in one PES.

デマルチプレクサ4及びAU切取部5の動作内容を以下に示す。(1)デマルチプレクサ4は、データフィルタリング処理において映像データを受け取ると、PESの先頭(PESヘッダ)を検出する処理を行う。(2)デマルチプレクサ4は、PESヘッダを検出すると、AU切取部5に先頭検出通知を行う。(3)AU切取部5は、先頭検出通知を受け取るとAUの先頭(スタート・コード)を検出する処理を行う。(4)AU切取部5は、前記スタート・コードを検出できたときには、その後もスタート・コードを検出する処理を続ける。(5)AU切取部5は、二つ目のスタート・コードを検出すると、一つ目のAUが完成したと判断し、このAUをデコードするよう映像デコーダ6Vに指令を行う。AU切取部5は、三つ目以降のスタート・コードを検出したときも同様に、スタート・コードを検出するごとにAUをデコードするよう映像デコーダ6Vに指令を行う。(6)デマルチプレクサ4が次のPESヘッダを検出すると、先頭検出通知(前PESの完成を知らせる通知)を行う。(7)AU切取部5は、先頭検出通知を受け取ると、前PESが完成された(すなわち、前PESにおける最後のAUが完成された)と判断し、当該最後のAUを映像デコーダ6Vにデコードさせる。   The operation contents of the demultiplexer 4 and the AU cutting unit 5 are shown below. (1) When the demultiplexer 4 receives video data in the data filtering process, the demultiplexer 4 performs a process of detecting the head of the PES (PES header). (2) When the demultiplexer 4 detects the PES header, it sends a head detection notification to the AU cutting unit 5. (3) Upon receiving the head detection notification, the AU cutting unit 5 performs processing for detecting the head (start code) of the AU. (4) When the AU cutting unit 5 can detect the start code, it continues the process of detecting the start code. (5) When detecting the second start code, the AU cutting unit 5 determines that the first AU is completed, and instructs the video decoder 6V to decode this AU. Similarly, when the third and subsequent start codes are detected, the AU cutout unit 5 instructs the video decoder 6V to decode the AU every time the start code is detected. (6) When the demultiplexer 4 detects the next PES header, it performs a head detection notification (a notification notifying the completion of the previous PES). (7) Upon receiving the head detection notification, the AU cutting unit 5 determines that the previous PES is completed (that is, the last AU in the previous PES is completed), and decodes the last AU into the video decoder 6V. Let

上述したデマルチプレクサ4及びAU切取部5の動作内容の詳細を図3乃至5のフローチャートに基づいて説明すると共に映像デコード時の処理内容を図6のフローチャートに基づいて説明していく。なお、以下の説明においては、AU切取部5の機能(処理)をCPU13が実行することとし、CPU13が後述する状態設定やフラグ設定を行い、デマルチプレクサ4に対する指令及び映像デコーダ6Vに対する指令を行うこととする。   Details of the operation contents of the demultiplexer 4 and the AU cutting unit 5 described above will be described with reference to the flowcharts of FIGS. 3 to 5, and the processing contents at the time of video decoding will be described with reference to the flowchart of FIG. In the following description, it is assumed that the CPU 13 executes the function (processing) of the AU cutting unit 5, and the CPU 13 performs state setting and flag setting described later, and issues a command to the demultiplexer 4 and a command to the video decoder 6V. I will do it.

<PES取得開始処理>
テレビ機能の起動時やチャンネル変更時に、CPU13は先頭検出フラグ(AUのスタート・コードが取得済みであるかどうかを示すフラグ)をOFFにし(ステップS1)、IDR待ちをセットする(ステップS2)。IDR待ちがセットされるということは、IDRピクチャが得られていない状態であることを意味する。デマルチプレクサ4はTSを取得し(ステップS3)、映像データであるかどうかを判断する(ステップS4)。映像データでない場合にはステップS3へ戻る。取得したTSが映像データであった場合には(ステップS4でYES)、デマルチプレクサ4はデータが映像PESの先頭(映像PESヘッダ)かどうかを判断する(ステップS5)。データが映像PESヘッダでない場合にはステップS3へ戻る。データが映像PESヘッダである場合には(ステップS5でYES)、デマルチプレクサ4は映像PESの作成を開始する(ステップS6)。
<PES acquisition start processing>
When the TV function is activated or the channel is changed, the CPU 13 turns off the head detection flag (a flag indicating whether or not the AU start code has been acquired) (step S1), and sets IDR waiting (step S2). When the IDR wait is set, it means that an IDR picture is not obtained. The demultiplexer 4 acquires TS (step S3), and determines whether it is video data (step S4). If it is not video data, the process returns to step S3. If the acquired TS is video data (YES in step S4), the demultiplexer 4 determines whether the data is the head of the video PES (video PES header) (step S5). If the data is not a video PES header, the process returns to step S3. If the data is a video PES header (YES in step S5), the demultiplexer 4 starts creating a video PES (step S6).

<デコードを伴うPES処理>
デマルチプレクサ4は映像PESの作成のため、映像TSを取得する(ステップS11)。CPU13は、デコード不可状態であると判定している場合(ステップS12でYES)、ステップS22へ進む。すなわち、映像PESの完成を待つ。デコード不可状態とは、IDRピクチャを取得できていない場合及びIDRピクチャを取得できてもそのデコードに失敗した場合である。デコード不可状態でない場合であって(ステップS12でNO)、且つCPU13がデマルチプレクサ4から映像PESが完成している旨の通知を受けている場合(ステップS13でYES)、先頭検出フラグがONであるかどうかを判断する(ステップS14)。先頭検出フラグのONは、1つの映像PES内で既にスタート・コードが検出済みであることを意味する。ONである場合には映像デコーダにデコード処理を行わせる(ステップS15)。このデコード処理においては、完成された映像PESの最後のAUについてデコードが行われることになる。一つの映像PESの最後のAUについてデコードが行われたので、先頭検出フラグをOFFとし(ステップS16)、ステップS3へ戻る。
<PES processing with decoding>
The demultiplexer 4 acquires the video TS for creating the video PES (step S11). If the CPU 13 determines that the decoding is impossible (YES in step S12), the process proceeds to step S22. That is, it waits for the completion of the video PES. The decoding impossible state is a case where an IDR picture cannot be acquired, and a case where an IDR picture can be acquired but decoding fails. If it is not in a state where decoding is not possible (NO in step S12), and the CPU 13 receives a notification that the video PES is completed from the demultiplexer 4 (YES in step S13), the head detection flag is ON. It is determined whether or not there is (step S14). ON of the head detection flag means that a start code has already been detected in one video PES. If it is ON, the video decoder is caused to perform decoding processing (step S15). In this decoding process, the final AU of the completed video PES is decoded. Since decoding has been performed for the last AU of one video PES, the head detection flag is turned OFF (step S16), and the process returns to step S3.

CPU13は、映像PESが完成していない場合には(ステップS13でNO)、AUの先頭(スタート・コード)を検出できたかどうかを判断し(ステップS17)、検出できなかった場合にはステップS11へ戻り、検出できた場合には先頭検出フラグがONであるかどうかを判断する(ステップS18)。先頭検出フラグがONである場合には(ステップS18でYES)、映像デコードを行い(ステップS19)、ステップS11に戻る。このときの映像デコードは、前記ステップS17で検出されたスタート・コードの以前のAUについて行うことになる。一方、先頭検出フラグがOFFである場合には(ステップS18でNO)、先頭検出フラグをONして(ステップS20)、ステップS11に戻る。すなわち、1つの映像PES内で初めてスタート・コードが検出されたので、先頭検出フラグONの処理を行う。   When the video PES is not completed (NO in step S13), the CPU 13 determines whether or not the head (start code) of the AU has been detected (step S17). If it can be detected, it is determined whether or not the head detection flag is ON (step S18). If the head detection flag is ON (YES in step S18), video decoding is performed (step S19), and the process returns to step S11. The video decoding at this time is performed for the AU before the start code detected in step S17. On the other hand, if the head detection flag is OFF (NO in step S18), the head detection flag is turned ON (step S20), and the process returns to step S11. That is, since the start code is detected for the first time in one video PES, the head detection flag ON process is performed.

<デコードを伴わないPES処理>
かかる処理は、ステップS12でデコード不可状態(IDR未取得)と判断されている場合に、次の映像PESの完成を待つ処理である。デマルチプレクサ4は映像PESの作成のため、映像TSを取得する(ステップS21)。CPU13は、映像PESが完成しているかどうかを判断する(ステップS22)。映像PESが完成していない場合には(ステップS22でNO)、ステップS21へ戻る。映像PESが完成している場合には(ステップS22でYES)、先頭検出フラグをOFFにする(ステップS23)。すなわち、新たな一つの映像PESを取得しようとしており、未だ、スタート・コードは取得できていないので、先頭検出フラグをOFFにする。そして、デコード可能状態にセットし(ステップS24)、ステップS3へ戻る。
<PES processing without decoding>
This process is a process of waiting for completion of the next video PES when it is determined in step S12 that decoding is not possible (IDR is not acquired). The demultiplexer 4 acquires the video TS for creating the video PES (step S21). The CPU 13 determines whether or not the video PES is completed (step S22). If the video PES is not completed (NO in step S22), the process returns to step S21. If the video PES is completed (YES in step S22), the head detection flag is turned off (step S23). That is, since one new video PES is to be acquired and the start code has not yet been acquired, the head detection flag is turned OFF. Then, it is set in a decodeable state (step S24), and the process returns to step S3.

<デコード処理>
CPU13は、AUがIDRピクチャであるかどうかを判断し(ステップS31)、IDRピクチャであると判断した場合には、IDR待ちを解除する(ステップS32)。そして、映像デコードを行い(ステップS33)、デコードが成功したかどうかを判断する(ステップS34)。例えば、映像デコーダ6Vからデコード完成の成否通知をCPU13が受け取ることで、前記判断が行える。デコードが成功した場合にはデコード処理は終了し、失敗した場合には(ステップS34でNO)、ステップS39に進む。
<Decoding process>
The CPU 13 determines whether or not the AU is an IDR picture (step S31), and when determining that the AU is an IDR picture, releases the IDR wait (step S32). Then, video decoding is performed (step S33), and it is determined whether the decoding is successful (step S34). For example, the determination can be made when the CPU 13 receives a decoding success / failure notification from the video decoder 6V. If the decoding is successful, the decoding process ends. If the decoding fails (NO in step S34), the process proceeds to step S39.

一方、ステップS31においてAUがIDRピクチャでないと判断された場合には、IDR待ちであるかどうかを判断する(ステップS35)。IDR待ちである場合には(ステップS35でYES)、ステップS40に進む。IDR待ちでない場合には(ステップS35でNO)、既に得られているIDRピクチャに基づいてnon_IDRピクチャの映像デコードを行う(ステップS36)。そして、デコードが成功したかどうかを判断し(ステップS37)、成功した場合にはデコード処理は終了する。デコードが失敗した場合には(ステップS37でNO)、IDRピクチャが無かったために生じたエラー(IDRなしエラー)であるかどうかを判断する(ステップS38)。IDRなしエラーでない場合にはデコード処理は終了する。CPU13は、IDRなしエラーの場合には(ステップS38でYES)、IDR待ちをセットする(ステップS39)、更に、デコード不可状態にセットする(ステップS40)。   On the other hand, if it is determined in step S31 that the AU is not an IDR picture, it is determined whether or not the IDR is waiting (step S35). When waiting for IDR (YES in step S35), the process proceeds to step S40. When not waiting for IDR (NO in step S35), video decoding of the non_IDR picture is performed based on the already obtained IDR picture (step S36). Then, it is determined whether or not the decoding is successful (step S37). If the decoding is successful, the decoding process ends. If the decoding has failed (NO in step S37), it is determined whether or not the error has occurred because there is no IDR picture (error without IDR) (step S38). If it is not an error without IDR, the decoding process ends. If there is no IDR error (YES in step S38), the CPU 13 sets IDR waiting (step S39), and further sets the decoding disabled state (step S40).

以上説明したように、一つのAUが完成したと判断するごとに、当該完成した一つのAUをデコードするので、デコードの時間ロスを軽減できると共に、たとえ、PESの全体の取得に失敗した場合でも、完成済みのAUについては映像デコードが行われるので、極力、映像を表示できることになる。また、IDRピクチャが得られていない場合及びIDRピクチャのデコードが失敗した場合には、デコード不可状態にセットし、前記AUの先頭を検出する処理をスキップするので、無意味な検出処理は省かれ、処理負担が軽減される。   As described above, every time it is determined that one AU is completed, the one completed AU is decoded, so that a decoding time loss can be reduced and even if acquisition of the entire PES fails. Since the completed AU is subjected to video decoding, the video can be displayed as much as possible. In addition, when the IDR picture is not obtained or when the decoding of the IDR picture is unsuccessful, the process is set to a state incapable of decoding and the process of detecting the head of the AU is skipped, so that the meaningless detection process is omitted. , Processing burden is reduced.

なお、上記の例では、TV機能付き携帯電話として説明したが、携帯型或いは移動型のディジタル放送受信装置として構成してもよい。   In the above example, a mobile phone with a TV function has been described. However, it may be configured as a portable or mobile digital broadcast receiving apparatus.

この発明の実施形態のTV機能付き携帯電話を示したブロック図である。It is the block diagram which showed the mobile telephone with a TV function of embodiment of this invention. この発明の実施形態のTV機能付き携帯電話のディジタル放送受信部を示したブロック図である。It is the block diagram which showed the digital broadcast receiving part of the mobile telephone with a TV function of embodiment of this invention. この発明の実施形態のディジタル放送受信部の処理内容を示したフローチャートである。It is the flowchart which showed the processing content of the digital broadcast receiver of embodiment of this invention. この発明の実施形態のディジタル放送受信部の処理内容を示したフローチャートである。It is the flowchart which showed the processing content of the digital broadcast receiver of embodiment of this invention. この発明の実施形態のディジタル放送受信部の処理内容を示したフローチャートである。It is the flowchart which showed the processing content of the digital broadcast receiver of embodiment of this invention. この発明の実施形態のディジタル放送受信部の処理内容を示したフローチャートである。It is the flowchart which showed the processing content of the digital broadcast receiver of embodiment of this invention. トランスポート・ストリームとパケッタイズド・エレメンタリー・ストリームとアクセス・ユニットとの関係を示した説明図である。。It is explanatory drawing which showed the relationship between a transport stream, a packetized elementary stream, and an access unit. .

符号の説明Explanation of symbols

4 デマルチプレクサ
5 AU切取部
6V 映像デコーダ
10 携帯電話
13 CPU
20 ディジタル放送受信部
30 電話機能部
31 制御部
32 無線通信部
4 Demultiplexer 5 AU Cutout Unit 6V Video Decoder 10 Mobile Phone 13 CPU
20 Digital Broadcasting Reception Unit 30 Telephone Function Unit 31 Control Unit 32 Wireless Communication Unit

Claims (5)

受信した地上ディジタル放送波を復調してストリームを生成するディジタル放送受信装置において、前記ストリームから映像パケットを取得して複数の符号化ピクチャから成る所定データ単位を生成する第1の手段と、前記符号化ピクチャの先頭を検出し、一つの符号化ピクチャが完成したと判断するごとに、当該完成した一つの符号化ピクチャを映像デコードする第2の手段と、前記所定データ単位の先頭を検出したときに先頭検出通知を行う第3の手段とを備え、
前記第2の手段は、前記第3の手段から前記先頭検出通知を受けたときに前記符号化ピクチャの先頭を検出する処理を開始すると共に、前記先頭検出通知を受けてから第1回目の符号化ピクチャの先頭を検出した後、第2回目以降の符号化ピクチャの先頭を検出できたときに各検出以前の符号化ピクチャが完成されたと判断することを特徴とするディジタル放送受信装置。
In a digital broadcast receiver for demodulating a received terrestrial digital broadcast wave to generate a stream, first means for acquiring a video packet from the stream and generating a predetermined data unit including a plurality of encoded pictures, and the code When the head of a coded picture is detected, and each time it is determined that one coded picture is completed, the second means for decoding the completed one coded picture, and when the head of the predetermined data unit is detected And a third means for notifying the head detection,
The second means starts the process of detecting the head of the coded picture when receiving the head detection notification from the third means, and receives the first code after receiving the head detection notification. A digital broadcast receiving apparatus , wherein after detecting the head of a coded picture, when the head of the second and subsequent coded pictures can be detected, it is determined that the coded picture before each detection is completed .
請求項1に記載のディジタル放送受信装置において、前記所定データ単位は一つのパケッタイズド・エレメンタリー・ストリームであり、前記符号化ピクチャ単位はH.264規格におけるアクセス・ユニットであることを特徴とするディジタル放送受信装置。 2. The digital broadcast receiving apparatus according to claim 1, wherein the predetermined data unit is one packetized elementary stream, and the coded picture unit is H.264. The digital broadcast receiving apparatus is an access unit in the H.264 standard. 請求項1又は請求項に記載のディジタル放送受信装置において、前記第2の手段は、符号化ピクチャの先頭が既に検出されている状態で前記先頭検出通知を受けたときに、前記所定データ単位内の最後の符号化ピクチャが完成されたと判断することを特徴とするディジタル放送受信装置。 In the digital broadcast receiving apparatus according to claim 1 or claim 2, wherein the second means, when receiving said head detection notification in a state where the head of the coded picture has already been detected, the predetermined data unit A digital broadcast receiving apparatus characterized in that it is determined that the last encoded picture is completed. 請求項1乃至請求項のいずれかに記載のディジタル放送受信装置において、前記符号化ピクチャは、それ自体でデコードが可能な独立ピクチャ及び前記独立ピクチャを参酌してデコードが行える付随ピクチャ群から成り、前記独立ピクチャが得られていない場合及び独立ピクチャのデコードが失敗した場合には、映像デコードが行えない状態であると判断し、前記符号化ピクチャの先頭を検出する処理をスキップするように構成されたことを特徴とするディジタル放送受信装置。 In the digital broadcast receiving apparatus according to any one of claims 1 to 3, wherein the coded picture itself by referring to the independent picture and the independent picture that can be decoded consists accompanying picture group capable of performing decoding in When the independent picture is not obtained or when the decoding of the independent picture fails, it is determined that the video cannot be decoded, and the process of detecting the head of the encoded picture is skipped. A digital broadcast receiver characterized by the above. 請求項に記載のディジタル放送受信装置において、映像デコードが行えない状態であると判断した以降に、前記所定データ単位が完成されたと判断したときには、映像デコード可能状態であると判断するように構成されたことを特徴とするディジタル放送受信装置。 5. The digital broadcast receiving apparatus according to claim 4 , wherein when it is determined that the predetermined data unit is completed after it is determined that video decoding cannot be performed, it is determined that video decoding is possible. A digital broadcast receiver characterized by the above.
JP2005019546A 2005-01-27 2005-01-27 Digital broadcast receiver Expired - Fee Related JP4693427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005019546A JP4693427B2 (en) 2005-01-27 2005-01-27 Digital broadcast receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005019546A JP4693427B2 (en) 2005-01-27 2005-01-27 Digital broadcast receiver

Publications (2)

Publication Number Publication Date
JP2006211201A JP2006211201A (en) 2006-08-10
JP4693427B2 true JP4693427B2 (en) 2011-06-01

Family

ID=36967575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005019546A Expired - Fee Related JP4693427B2 (en) 2005-01-27 2005-01-27 Digital broadcast receiver

Country Status (1)

Country Link
JP (1) JP4693427B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07123357A (en) * 1993-10-26 1995-05-12 Matsushita Electric Ind Co Ltd Compressed picture reproducing method
JPH0937252A (en) * 1995-02-28 1997-02-07 General Instr Corp Of Delaware Method for capturing and synchronizing desired data from data stream in form of packet
JPH1023435A (en) * 1996-06-27 1998-01-23 Sanyo Electric Co Ltd Error processor and decoder
JPH10322704A (en) * 1997-05-19 1998-12-04 Mitsubishi Electric Corp Bit stream data decoder
JP2002142192A (en) * 2000-11-01 2002-05-17 Sony Corp Apparatus and method for signal processing and for recording
JP2002305721A (en) * 2001-04-06 2002-10-18 Sharp Corp Compressed image reproducing method
JP2003111032A (en) * 2001-10-02 2003-04-11 Sharp Corp Moving picture decoder, moving picture decoding method and recording medium with program to allow computer to implement the method recorded thereon
JP2004254186A (en) * 2003-02-21 2004-09-09 Fujitsu Ltd Audio/video synchronous control method and device
JP2005123907A (en) * 2003-10-16 2005-05-12 Matsushita Electric Ind Co Ltd Data reconstruction apparatus
JP2005524313A (en) * 2002-04-29 2005-08-11 ソニー エレクトロニクス インク Encoding apparatus and computer processing method
JP2007208917A (en) * 2006-02-06 2007-08-16 Toshiba Corp Decoding device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07123357A (en) * 1993-10-26 1995-05-12 Matsushita Electric Ind Co Ltd Compressed picture reproducing method
JPH0937252A (en) * 1995-02-28 1997-02-07 General Instr Corp Of Delaware Method for capturing and synchronizing desired data from data stream in form of packet
JPH1023435A (en) * 1996-06-27 1998-01-23 Sanyo Electric Co Ltd Error processor and decoder
JPH10322704A (en) * 1997-05-19 1998-12-04 Mitsubishi Electric Corp Bit stream data decoder
JP2002142192A (en) * 2000-11-01 2002-05-17 Sony Corp Apparatus and method for signal processing and for recording
JP2002305721A (en) * 2001-04-06 2002-10-18 Sharp Corp Compressed image reproducing method
JP2003111032A (en) * 2001-10-02 2003-04-11 Sharp Corp Moving picture decoder, moving picture decoding method and recording medium with program to allow computer to implement the method recorded thereon
JP2005524313A (en) * 2002-04-29 2005-08-11 ソニー エレクトロニクス インク Encoding apparatus and computer processing method
JP2004254186A (en) * 2003-02-21 2004-09-09 Fujitsu Ltd Audio/video synchronous control method and device
JP2005123907A (en) * 2003-10-16 2005-05-12 Matsushita Electric Ind Co Ltd Data reconstruction apparatus
JP2007208917A (en) * 2006-02-06 2007-08-16 Toshiba Corp Decoding device

Also Published As

Publication number Publication date
JP2006211201A (en) 2006-08-10

Similar Documents

Publication Publication Date Title
WO2005114993A1 (en) Digital broadcast reception device
JP2006211111A (en) Television receiver and television receiving method
JP4753565B2 (en) Mobile communication device with TV viewing function
JP5127112B2 (en) Digital broadcast receiver
JP4675097B2 (en) Digital broadcast receiver
JP4693427B2 (en) Digital broadcast receiver
JP4707385B2 (en) Digital broadcast receiver
JP4683908B2 (en) Video / audio output device
JP4726473B2 (en) Digital broadcast receiver
JP3939202B2 (en) Digital broadcast receiver
JP4640773B2 (en) Digital broadcast receiver
EP1816863B1 (en) Apparatus and method for increasing channel-changing speed in DMB receiving terminal
JP2002142163A (en) Digital television broadcasting receiver
KR20070078621A (en) Device and method for processing of muli-data in terminal having digital broadcasting receiver
JP4707371B2 (en) Digital broadcast receiver and information storage device
JP2005348016A (en) Broadcast receiving mobile terminal
JP4688429B2 (en) Digital broadcast receiver
JP2004208149A (en) Digital broadcast receiver
JP2004336481A (en) Portable telephone terminal with digital broadcast reception function
JP2007027974A (en) Television receiver and electronic apparatus
JP2007124096A (en) Portable digital broadcast receiver
KR100812329B1 (en) Method and device for displaying digital broadcasting data
JP2006197420A (en) Broadcast receiver
JP5058327B2 (en) Digital broadcast receiver
JP5153906B2 (en) Digital broadcast receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080121

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080801

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110128

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110222

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110222

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

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees