JP2007288683A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2007288683A
JP2007288683A JP2006115898A JP2006115898A JP2007288683A JP 2007288683 A JP2007288683 A JP 2007288683A JP 2006115898 A JP2006115898 A JP 2006115898A JP 2006115898 A JP2006115898 A JP 2006115898A JP 2007288683 A JP2007288683 A JP 2007288683A
Authority
JP
Japan
Prior art keywords
decoding
decoder
access unit
unit
idr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006115898A
Other languages
Japanese (ja)
Other versions
JP4866135B2 (en
Inventor
Takashi Tomita
隆志 冨田
Kenji Morita
健司 森田
Hitoshi Sato
仁 佐藤
Gakuji Uesaka
岳治 植坂
Hideshi Ishiyama
英志 石山
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP2006115898A priority Critical patent/JP4866135B2/en
Publication of JP2007288683A publication Critical patent/JP2007288683A/en
Application granted granted Critical
Publication of JP4866135B2 publication Critical patent/JP4866135B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To decode a plurality of pieces of image encoded data which are encoded and packetized by systems different for each service, while speedily switching them without sense of incompatibility. <P>SOLUTION: In decoding of a high quality motion picture service using an MPEG2 decoder, an information storage processing means makes an access unit correspond to a PTS including presentation time information that is specific information of the access unit, from a stream of a simplified motion picture service (such as one-segment broadcasting) and stores them. When a switching control section performs switching control from the MPEG2 decoder to an H264 decoder, the H264 decoder decodes access units in order from the latest IDR access unit stored in the information storage processing means and when a PTS judgment section judges a case where a presentation time indicated by the PTS comes later in the future rather than a decoding completion time, the H264 decoder completes synchronization processing and shifts to ordinary decoding processing. Thus, a synchronization processing completion processing time of the H264 decoder is remarkably shortened. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、異なった方式で符号化及びパケット化された、複数の画像符号化データを選択的に復号等する画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for selectively decoding a plurality of pieces of encoded image data encoded and packetized by different methods.

近年、周波数利用効率が高く、伝送品質、画像品質に優れた放送を提供することを可能とするディジタル放送(インターネット放送、地上ディジタル放送等)が開始されている。   In recent years, digital broadcasting (Internet broadcasting, terrestrial digital broadcasting, etc.) that can provide broadcasting with high frequency utilization efficiency and excellent transmission quality and image quality has been started.

日本の地上ディジタル放送では、伝送方式として、高い周波数利用効率と伝送品質が得られるOFDM(Orthogonal Frequency Division Multiplexing:直交波周波数分割多重)方式が採用され、帯域幅6MHzの放送チャンネル(物理チャンネル)を14個のセグメントに分割し、そのうちガードバンドを除いた13個のセグメントを複数のセグメント群(階層)のグループに分けて、各グループ単位で情報符号化方式や変調方式等の異なる番組(プログラム)を同時に放送することを可能にしている。   In Japan's terrestrial digital broadcasting, an OFDM (Orthogonal Frequency Division Multiplexing) system that provides high frequency utilization efficiency and transmission quality is adopted as a transmission system, and a broadcast channel (physical channel) with a bandwidth of 6 MHz is adopted. The program is divided into 14 segments, of which 13 segments excluding the guard band are divided into groups of a plurality of segment groups (hierarchies), and programs (programs) having different information encoding schemes and modulation schemes for each group. Can be broadcast simultaneously.

例えば、13個のセグメントのうち、中央の1セグメントを除く12セグメントを用いて、固定受信向けに、ハイビジョン番組(HDTV:High Definition TeleVision)を1番組、または、標準番組(SDTV:Standard Definition TeleVision)を2ないし3番組放送し、移動受信向けに、中央の1セグメントを用いて1セグメント放送(ワンセグ放送)が既に行われている。   For example, among the 13 segments, 12 segments excluding the central one segment are used for fixed reception and one high-definition program (HDTV: High Definition TeleVision) or standard program (SDTV: Standard Definition TeleVision) 2 to 3 programs are broadcast, and for mobile reception, one segment broadcast (one-segment broadcasting) is already performed using one central segment.

また、情報源符号化(画像圧縮符号化)方式として、上述のHDTVやSDTVの番組にはMPEG-2 Video(Moving Picture Expert Group 2 Video)方式、ワンセグ放送の番組にはH.264/AVC(MPEG-4 AVC:Moving Picture Expert Group 4 Part10 Advanced Video Coding)方式が採用されている。   As an information source encoding (image compression encoding) system, the above-mentioned HDTV and SDTV programs are MPEG-2 Video (Moving Picture Expert Group 2 Video) systems, and one-segment broadcasting programs are H.264. H.264 / AVC (MPEG-4 AVC: Moving Picture Expert Group 4 Part 10 Advanced Video Coding) system is adopted.

また、ストリーミング放送を行うためのプロトコルとして、MPEG-2 TS(Transport Stream)が採用されており、送信側で、情報源符号化後の画像符号化データ(ビットストリームのデータ)を伝送しやすい小さな固定長(ヘッダを含む188byte)のTSパケット(トランスポートストリームパケット)にパケット化し、それらのTSパケットを並べた1つのトランスポートストリームを生成して、上述のOFDM変調等を行って放送している。更に、HDTVやSDTVのTSパケットとワンセグ放送のTSパケットとを1つのトランスポートストリームに多重化し、それら複数の番組(プログラム)を多重放送することが可能となっている。   In addition, MPEG-2 TS (Transport Stream) is adopted as a protocol for performing streaming broadcasting, and it is easy to transmit encoded image data (bit stream data) after information source encoding on the transmission side. It is packetized into TS packets (transport stream packets) of fixed length (188 bytes including header), one transport stream in which those TS packets are arranged is generated, and broadcast by performing the above-described OFDM modulation or the like. . Further, it is possible to multiplex HDTV or SDTV TS packets and one-segment broadcasting TS packets into one transport stream, and multiplex broadcast these plural programs.

ここで、ストリーミング放送を実現するためには、受信機側で送信側と同期を取って、トランスポートストリームの各TSパケットを番組(プログラム)毎に判別して分離抽出し、TSパケット内の画像符号化データを復号できるようにする必要がある。   Here, in order to realize streaming broadcasting, the receiver side synchronizes with the transmission side, each TS packet of the transport stream is discriminated and extracted for each program (program), and an image in the TS packet is obtained. It is necessary to be able to decode the encoded data.

そのため、送信側では、エレメンタリストリーム(ES:Elementary Stream)である画像符号化データをピクチャ単位でPES(Packetized Elementary Stream)パケットにパケット化した上でTSパケット化している。更に、各PESパケットのヘッダ(PESヘッダ)内に、PTS(Presentation Time Stamp:提示時間情報)と呼ばれるそのPESパケット内のエレメンタリストリームESを再生(提示)する時間を示す時間情報が記述されている。更に、PCR(Program Clock Reference:番組時刻基準値情報)と呼ばれる基準時刻情報が番組(サービス)毎に伝送され、このPCRを受信機が受信した瞬間の時間をPCR値(番組時刻基準値)で示された時刻とすることで、送信側との同期を取ることが可能となっている。そして、PCR値に基づいて同期した基準時刻を基準にして、PTSの示す時間にそのPESパケット内のエレメンタリストリームESを復号(デコード)することで、番組(プログラム)毎に画像を再生することができるようになっている。   Therefore, on the transmission side, image encoded data that is an elementary stream (ES: Elementary Stream) is packetized into PES (Packetized Elementary Stream) packets in units of pictures and then converted into TS packets. Furthermore, in the header (PES header) of each PES packet, time information indicating the time for reproducing (presenting) the elementary stream ES in the PES packet called PTS (Presentation Time Stamp) is described. Yes. Further, reference time information called PCR (Program Clock Reference: program time reference value information) is transmitted for each program (service), and the time at which the receiver receives this PCR is expressed as a PCR value (program time reference value). By using the indicated time, it is possible to synchronize with the transmission side. An image is reproduced for each program (program) by decoding (decoding) the elementary stream ES in the PES packet at the time indicated by the PTS with reference to the reference time synchronized based on the PCR value. Can be done.

なお、以上に述べたPTSとPCRに基づいて固定受信向けのHDTVやSDTVの番組放送(以下、「高画質動画サービス」とも総称することとする)を同期再生することができるが、移動受信向けのワンセグ放送(以下、「簡易動画サービス」とも称することとする)では、更にピクチャ単位より細かいスライス単位で符号化してエレメンタリストリームESである画像符号化データを生成し、PESパケットにパケット化した上でTSパケット化している。そして、放送では、見たい場面から再生できるランダムアクセス機能が必要であることから、スライス単位で符号化された画像符号化データをピクチャ単位でランダムアクセスを行えるようにしている。   Note that HDTV and SDTV program broadcasts for fixed reception (hereinafter collectively referred to as “high-quality video service”) can be synchronously played back based on the PTS and PCR described above, but for mobile reception. In one-segment broadcasting (hereinafter also referred to as “simple video service”), encoded image data that is an elementary stream ES is generated by further encoding in units of slices smaller than pictures, and packetized into PES packets. TS packetized above. Since broadcasting requires a random access function that can be reproduced from a desired scene, image-encoded data encoded in units of slices can be randomly accessed in units of pictures.

つまり、H.264/AVCでは、スライス単位で符号化された画像符号化データを、自身で1フレームの絵を生成できるIDRピクチャー(基準フレームデータ)と、参照画像を要する非IDRピクチャー(非基準フレームデータ)とに分類し、IDRピクチャーをIDR(Instantaneous Decoder Refresh:デコーダ符号動作の瞬時リフレッシュ)アクセスユニットに格納し、非IDRピクチャーを非IDR(non Instantaneous Decoder Refresh)アクセスユニットに格納して、PESパケットに多重化した上でTSパケット化している。そして、受信機側でIDRアクセスユニットを判別し、IDRアクセスユニットが格納されているPESパケットのPESヘッダに記述されているPTS(Presentation Time Stamp:提示時間情報)とPCR(Program Clock Reference:番組時刻基準値情報)に同期して、そのIDRアクセスユニット内のIDRピクチャーの再生(提示)を行うことで、非IDRアクセスユニットに格納されている非IDRピクチャーも順次に再生(提示)することができるようになっている。更に、同期再生(提示)の基準となるIDRアクセスユニットは、通常2秒程度の間隔、最大でも5秒間隔でTSパケットに現れるように、PESパケットに多重化しなければならないと規定されている。   That is, H.H. In H.264 / AVC, encoded image data encoded in units of slices includes an IDR picture (standard frame data) that can generate a picture of one frame by itself, and a non-IDR picture (non-standard frame data) that requires a reference image. The IDR picture is stored in an IDR (Instantaneous Decoder Refresh) access unit, the non-IDR picture is stored in a non-IDR (non Instantaneous Decoder Refresh) access unit, and is multiplexed into a PES packet. After that, it is converted into TS packets. Then, the receiver side determines the IDR access unit, and PTS (Presentation Time Stamp: presentation time information) and PCR (Program Clock Reference: program time) described in the PES header of the PES packet in which the IDR access unit is stored. By reproducing (presenting) the IDR picture in the IDR access unit in synchronization with the reference value information), the non-IDR picture stored in the non-IDR access unit can also be reproduced (presented) sequentially. It is like that. Furthermore, it is specified that an IDR access unit that is a reference for synchronous reproduction (presentation) must be multiplexed into a PES packet so that it appears in a TS packet at intervals of about 2 seconds, usually at intervals of 5 seconds at the maximum.

ところで、従来、HDTVやSDTVの番組放送とワンセグ放送との多重放送を受信することが可能な受信機において、ユーザー等がHDTVやSDTVの番組放送からワンセグ放送への視聴に切替えた場合、その切替え時が上述のIDRアクセスユニットの現れる期間(2秒ないし5秒の期間)内のときには、次のIDRアクセスユニットが判別できるまで、ディスプレイの表示を黒表示(映像ミュート)としていたため、ユーザー等に対して違和感等を与えるという問題があった。   By the way, in a conventional receiver capable of receiving multiple broadcasts of HDTV or SDTV program broadcasts and one-segment broadcasts, when the user switches from watching HDTV or SDTV program broadcasts to one-segment broadcasts, the switching is performed. When the time is within the period in which the IDR access unit appears (period of 2 to 5 seconds), the display on the display is black (video mute) until the next IDR access unit can be identified. On the other hand, there was a problem of giving a sense of incongruity.

こうした問題を解決するため、特許文献1の受信機が提案されている。特許文献1の受信機をHDTVやSDTVとワンセグ放送とを受信するための受信機に適用した場合、HDTVやSDTVとワンセグ放送との両者を常に復号し、HDTVやSDTVからワンセグ放送への視聴に切替えられると、その切替え時におけるHDTVやSDTVの番組放送のフレーム画像を静止画としてディスプレイに表示させた後、次に、切替え時におけるワンセグ放送のフレーム画像と上述の静止画との合成画像を表示させてから、ワンセグ放送の画像だけに切替えてディスプレイ表示する。これにより、黒表示の期間を無くすこととなる。   In order to solve such a problem, the receiver of Patent Document 1 has been proposed. When the receiver of Patent Document 1 is applied to a receiver for receiving HDTV, SDTV, and one-segment broadcasting, both HDTV, SDTV, and one-segment broadcasting are always decoded to allow viewing from HDTV or SDTV to one-segment broadcasting. When switched, the frame image of the HDTV or SDTV program broadcast at the time of switching is displayed as a still image on the display, and then the composite image of the one-segment broadcast frame image and the above-described still image at the time of switching is displayed. Then, switch to only one-segment broadcasting images and display on the display. As a result, the black display period is eliminated.

特開2006−74466号公報JP 2006-74466 A

ところが、特許文献1の受信機では、HDTVやSDTVとワンセグ放送との両者を常に復号することとなるため、復号を行う復号器(デコーダ)の処理負担が大きく、消費電力の低減が困難となる等の問題がある。例えば、特許文献1の受信機を、バッテリで動作する携帯電話等の移動端末装置に適用することは極めて困難である。   However, since the receiver of Patent Document 1 always decodes both HDTV and SDTV and one-segment broadcasting, the processing load of a decoder (decoder) that performs decoding is large, and it is difficult to reduce power consumption. There are problems such as. For example, it is extremely difficult to apply the receiver of Patent Document 1 to a mobile terminal device such as a mobile phone that operates on a battery.

更に、ユーザー等から切替え指示がなされた時点からワンセグ放送に完全に切替わるまでの同期処理期間において黒表示が行われないが、IDRアクセスユニットが現れる2秒ないし5秒間の間、静止画や合成画像がディスプレイ表示されることとなるため、迅速にワンセグ放送に切替えるための手段が講じられていると言えず、単に黒表示を行わないようにしているに過ぎないという課題がある。   Furthermore, black display is not performed in the synchronization processing period from the time when the switching instruction is given from the user to the complete switching to the one-segment broadcasting, but still images and composites are displayed for 2 to 5 seconds when the IDR access unit appears. Since the image is displayed on the display, it cannot be said that means for quickly switching to the one-segment broadcasting is taken, and there is a problem that only black display is not performed.

本発明は、このような従来の問題に鑑みてなされたものであり、異なった方式で符号化及びパケット化された複数の画像符号化データを選択的に復号等する画像処理装置及び画像処理方法であって、例えば、ユーザー等に違和感を与えることなく迅速な切替えを行うことができ、また、復号処理の負担を低減等することができる、新規な画像処理装置及び画像処理方法を提供することを目的とするものである。   The present invention has been made in view of such a conventional problem, and an image processing apparatus and an image processing method for selectively decoding a plurality of encoded image data encoded and packetized by different methods. Thus, for example, it is possible to provide a novel image processing apparatus and image processing method capable of performing quick switching without causing a sense of incongruity to a user or the like and reducing the burden of decoding processing. It is intended.

請求項1に記載の発明は、符号化及びパケット化された高画質動画サービスのストリームをデコードする第1のデコーダ手段と、各々固有の提示時間情報が付された基準のアクセスユニット及び非基準のアクセスユニットが多重化された簡易動画サービスのストリームをデコードする第2のデコーダ手段とを備える画像処理装置であって、前記第1のデコード手段と第2のデコード手段の動作と停止を制御し、前記第1のデコード手段を動作させるときには前記第2のデコード手段を停止させ、前記第2のデコード手段を動作させるときには前記第1のデコード手段を停止させる切替え制御手段と、前記第1のデコード手段がデコード動作している間、前記簡易動画サービスのストリームから、前記固有の提示時間情報とアクセスユニットとを対応付けて順次に記憶すると共に、前記切替え制御手段によって前記第1のデコード手段のデコード動作から前記第2のデコード手段のデコード動作へと切替えられると、前記第1のデコード手段がデコード動作している間に記憶しておいた前記アクセスユニットのうち、最新の基準のアクセスユニットから順次に前記第2のデコーダ手段にデコードさせる同期情報蓄積処理手段と、前記第2のデコーダ手段が前記アクセスユニットのデコードを完了する現在時刻と、デコードされた前記アクセスユニットに対応付けられて前記同期情報蓄積処理手段に記憶されている固有の提示時間情報による提示時刻とを比較し、当該提示時刻が前記現在時刻より未来の時刻となると、同期確立と判定して、前記第2のデコーダ手段に通常のデコード処理を開始させる判定手段と、を具備することを特徴とする。   The invention according to claim 1 is a first decoder means for decoding an encoded and packetized stream of a high-quality video service, a reference access unit to which unique presentation time information is attached, and a non-standard reference unit. A second decoder means for decoding the stream of the simple video service in which the access unit is multiplexed, and controls the operation and stop of the first decoder means and the second decoder means, A switching control means for stopping the second decoding means when operating the first decoding means, and stopping the first decoding means when operating the second decoding means; and the first decoding means During the decoding operation, the unique presentation time information and the access unit are obtained from the stream of the simple video service. When the switching control means switches from the decoding operation of the first decoding means to the decoding operation of the second decoding means, the first decoding means performs the decoding operation. Among the access units stored during the period of time, the second decoder means sequentially decodes from the latest reference access unit, and the second decoder means includes the access unit The present time for completing the decoding is compared with the present time based on the unique present time information stored in the synchronization information storage processing means in association with the decoded access unit, and the present time is the current time. When a future time comes, it is determined that synchronization is established, and the second decoder means performs normal decoding processing. Characterized in that it comprises a and a judging means for starting.

請求項4に記載の発明は、符号化及びパケット化された高画質動画サービスのストリームをデコードする第1のデコーダ工程と、各々固有の提示時間情報が付された基準のアクセスユニット及び非基準のアクセスユニットが多重化された簡易動画サービスのストリームをデコードする第2のデコーダ工程とを備える画像処理方法であって、前記第1のデコード工程と第2のデコード工程の処理と停止を制御し、前記第1のデコード工程の処理を行わせるときには前記第2のデコード工程を停止させ、前記第2のデコード工程の処理を行わせるときには前記第1のデコード工程を停止させる切替え制御工程と、前記第1のデコード工程におけるデコード処理の間、前記簡易動画サービスのストリームから、前記固有の提示時間情報とアクセスユニットとを対応付けて順次に記憶すると共に、前記切替え制御工程によって前記第1のデコード工程から前記第2のデコード工程へと切替えられると、前記第1のデコード工程がデコード処理をしている間に記憶しておいた前記アクセスユニットのうち、最新の基準のアクセスユニットから順次に前記第2のデコーダ工程においてデコードさせる記憶工程と、前記第2のデコーダ工程で前記アクセスユニットのデコードが完了する現在時刻と、デコードされた前記アクセスユニットに対応付けられて前記記憶工程において記憶されている固有の提示時間情報による提示時刻とを比較し、当該提示時刻が前記現在時刻より未来の時刻となると、同期確立と判定して、前記第2のデコーダ工程において通常のデコード処理を開始させる判定工程と、を具備することを特徴とする。   The invention described in claim 4 includes a first decoder step for decoding a stream of a high-quality video service that has been encoded and packetized, a reference access unit to which unique presentation time information is attached, and a non-standard reference unit. A second decoder step of decoding a stream of a simplified video service in which an access unit is multiplexed, wherein the processing and stop of the first decoding step and the second decoding step are controlled, A switching control step of stopping the second decoding step when performing the processing of the first decoding step, and stopping the first decoding step when performing the processing of the second decoding step; During the decoding process in one decoding process, the unique presentation time information and the access user are extracted from the stream of the simple video service. The first decoding step performs a decoding process when the switching control step switches from the first decoding step to the second decoding step. Among the access units stored in between, the storage step for decoding in the second decoder step sequentially from the latest reference access unit, and the decoding of the access unit is completed in the second decoder step Comparing the current time with the presentation time by the unique presentation time information stored in the storage step in association with the decoded access unit, and when the presentation time is a future time from the current time, A determination step of determining that synchronization is established and starting a normal decoding process in the second decoder step; Characterized by including the.

本発明の実施の形態に係る画像処理装置について図面を参照して説明する。図1は、本実施形態の画像処理装置の構成を表したブロック図である。また、この画像処理装置は、MPEG-2システムを用いた地上波ディジタル放送を受信する受信機のバックエンドとして適用されたものであり、高画質動画サービス(HDTVとSDTV)のデコード方式にはMPEG-2 Video、簡易動画サービスのデコード方式にはH.264/AVCが用いられている。   An image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to this embodiment. This image processing apparatus is applied as a back end of a receiver that receives terrestrial digital broadcasting using the MPEG-2 system. The decoding system for high-quality video services (HDTV and SDTV) is MPEG. -2 Video, H. H.264 / AVC is used.

図1において、この受信機は、フロントエンド(前処理部)とバックエンド(後処理部)に大別され、フロントエンドは、放送波を受信するチューナ10とOFDM復調部20を備えた構成、バックエンドは、TSバッファ30、デマルチプレクサ40、本実施形態の画像処理装置1を備えた構成となっている。   In FIG. 1, this receiver is roughly divided into a front end (pre-processing unit) and a back end (post-processing unit), and the front end includes a tuner 10 that receives broadcast waves and an OFDM demodulating unit 20. The back end includes a TS buffer 30, a demultiplexer 40, and the image processing apparatus 1 of the present embodiment.

そして、画像処理装置1は、ESバッファ50、H264デコーダ60、送出部70、IDR検出部80、IDRポインタ保持部90、PTS保持部100、PTS判定部110、MPEG-2デコーダ120、ビデオバッファ130、切替え制御部140を有して構成されている。   The image processing apparatus 1 includes an ES buffer 50, an H264 decoder 60, a sending unit 70, an IDR detection unit 80, an IDR pointer holding unit 90, a PTS holding unit 100, a PTS determination unit 110, an MPEG-2 decoder 120, and a video buffer 130. The switching control unit 140 is configured.

ここで、ESバッファ50とIDR検出部80とIDRポインタ保持部90及びPTS保持部100によって情報蓄積処理手段が構成されており、その情報蓄積処理手段の機能の詳細については後述することとする。   Here, the ES buffer 50, the IDR detection unit 80, the IDR pointer holding unit 90, and the PTS holding unit 100 constitute information storage processing means, and details of functions of the information storage processing means will be described later.

チューナ10では、図示しないアンテナにより放送波を受信し、ユーザー等が選局した放送チャンネルのOFDM信号Soを抽出し、内蔵されているAGC(Auto Gain Control)回路によってレベル調整して、OFDM復調部20に供給する。また、上述のAGC回路がAGC制御を行う際に生成するSメータ信号(受信感度を示す信号)Smを後述の切替え制御部140に供給する。   The tuner 10 receives a broadcast wave by an antenna (not shown), extracts an OFDM signal So of a broadcast channel selected by a user or the like, adjusts the level by a built-in AGC (Auto Gain Control) circuit, and an OFDM demodulator 20 is supplied. Further, an S meter signal (a signal indicating reception sensitivity) Sm generated when the above-described AGC circuit performs AGC control is supplied to a switching control unit 140 described later.

OFDM復調部20は、チューナ10から供給されるOFDM信号Soに対して復調及び誤り訂正処理等の処理を施すことでトランスポートストリームTSを再生し、半導体メモリ等で形成されたTSバッファ30に供給する。また、上述の誤り訂正処理の際に生成するビットエラーレート(Bit Error Rate)のデータBERを受信感度を示すデータとして、後述の切替え制御部140に供給する。   The OFDM demodulator 20 reproduces the transport stream TS by performing processing such as demodulation and error correction processing on the OFDM signal So supplied from the tuner 10 and supplies the transport stream TS to a TS buffer 30 formed of a semiconductor memory or the like. To do. In addition, the bit error rate data BER generated in the above error correction processing is supplied to the switching control unit 140 described later as data indicating reception sensitivity.

TSバッファ30は、トランスポートストリームTSを入力し、一時的に記憶してタイミング調整を図りつつデマルチプレクサ40へ転送するFIFO処理を行う。   The TS buffer 30 receives the transport stream TS, performs a FIFO process of temporarily storing it and transferring it to the demultiplexer 40 while adjusting the timing.

デマルチプレクサ40は、TSバッファ30からのトランスポートストリームTSのTSパケットを解析し、ユーザー等の選局操作で所望のサービスが選択されることで指定されるPID(Packet Identifier:パケット識別子)のTSパケットを抽出し、更に抽出したTSパケットから、高画質動画サービス(HDTVやSDTV)のPES(Packetized Elementary Stream)パケットを抜き出してMPEG-2デコーダ120に供給すると共に、簡易動画サービス(ワンセグ放送)のエレメンタリストリーム(ES)をESバッファ50に供給し格納させる。また、簡易動画サービスのエレメンタリストリーム(ES)に関するPTS(Presentation Time Stamp:提示時間情報)を、簡易動画サービスのPESパケットのPESヘッダ内から抽出し、ESバッファ50に供給する各エレメンタリストリーム(ES)と関連付けてPTS保持部100に供給する。つまり、互いに関連付けられているESとPTSとの対応関係を保持しつつESバッファ50とPTS保持部100に格納させる。   The demultiplexer 40 analyzes the TS packet of the transport stream TS from the TS buffer 30, and a PID (Packet Identifier) TS designated by selecting a desired service by a channel selection operation by a user or the like. Extract the packet, and extract the PES (Packetized Elementary Stream) packet of the high-quality video service (HDTV or SDTV) from the extracted TS packet and supply it to the MPEG-2 decoder 120, as well as the simple video service (one-segment broadcasting) An elementary stream (ES) is supplied to and stored in the ES buffer 50. Further, each elementary stream (PTS (Presentation Time Stamp: presentation time information) related to the elementary stream (ES) of the simple video service is extracted from the PES header of the PES packet of the simple video service and supplied to the ES buffer 50 ( ES) to be supplied to the PTS holding unit 100. That is, the ES buffer 50 and the PTS holding unit 100 store the correspondence relationship between the ES and the PTS associated with each other.

更に、デマルチプレクサ40は、簡易動画サービスのエレメンタリストリーム(ES)と高画質動画サービスのPESと番組時刻基準値情報(PCR)についての多重分離を常に行い、その分離した番組時刻基準値情報(PCR)も、MPEG-2デコーダとESバッファ50に供給する。   Further, the demultiplexer 40 always performs demultiplexing on the elementary stream (ES) of the simple video service, the PES of the high quality video service, and the program time reference value information (PCR), and the separated program time reference value information ( PCR) is also supplied to the MPEG-2 decoder and ES buffer 50.

ESバッファ50は、IDRアクセスユニットが最大5秒間毎に伝送されてくる場合を想定して、最大5秒間毎に伝送されてくるIDRアクセスユニット間のアクセスユニットを記憶する記憶容量を備えた半導体メモリ等で形成されている。そして、上述したように、ESバッファ50に格納されるPTSと関連付けてエレメンタリストリーム(ES)を記憶する。   The ES buffer 50 is a semiconductor memory having a storage capacity for storing access units between IDR access units transmitted every 5 seconds at the maximum, assuming that the IDR access units are transmitted every 5 seconds at a maximum. Etc. are formed. Then, as described above, the elementary stream (ES) is stored in association with the PTS stored in the ES buffer 50.

IDR検出部80は、ESバッファ50に時々刻々と格納されるエレメンタリストリーム(ES)を検査して、IDRピクチャーが格納されているIDRアクセスユニット(IDR_AU)を検出する。例えば、IDRアクセスユニットの先頭に付けられたNALユニットに記述されているシーンパラメータセット(SPS:Sequence Parameter Set)の情報を調べることで、IDRアクセスユニット(IDR_AU)か非IDRアクセスユニット(非IDR_AU)かの判定を行って、IDRアクセスユニット(IDR_AU)を検出する。そして、検出したIDRアクセスユニット(IDR_AU)の位置を指し示す情報(IDRポインタデータ)をIDRポインタ保持部90に記憶させる。   The IDR detection unit 80 inspects an elementary stream (ES) that is stored in the ES buffer 50 every moment to detect an IDR access unit (IDR_AU) in which an IDR picture is stored. For example, an IDR access unit (IDR_AU) or a non-IDR access unit (non-IDR_AU) is obtained by examining information on a scene parameter set (SPS) described in a NAL unit attached to the head of the IDR access unit. The IDR access unit (IDR_AU) is detected. Information (IDR pointer data) indicating the position of the detected IDR access unit (IDR_AU) is stored in the IDR pointer holding unit 90.

IDRポインタ保持部90は、上述したようにIDR検出部80で検出されたIDRアクセスユニット(IDR_AU)のIDRポンタデータを記憶する。つまり、IDRアクセスユニット(IDR_AU)が検出されるたびに、その最新のIDRアクセスユニット(IDR_AU)が先頭のアクセスユニットであることを示すIDRポインタデータを記憶し、旧いIDR_AUのIDRポインタデータとの差し替えを行う。   The IDR pointer holding unit 90 stores IDR pointer data of the IDR access unit (IDR_AU) detected by the IDR detection unit 80 as described above. That is, each time an IDR access unit (IDR_AU) is detected, IDR pointer data indicating that the latest IDR access unit (IDR_AU) is the top access unit is stored, and replaced with the IDR pointer data of the old IDR_AU. I do.

PTS保持部100は、IDRポインタ保持部90と連携し、上述した簡易動画のPESパケットのPESヘッダ内から抽出されたPTSを、対応するESの領域情報と関連付けて保持する。   The PTS holding unit 100 cooperates with the IDR pointer holding unit 90 to hold the PTS extracted from the PES header of the PES packet of the simple moving image described above in association with the corresponding ES area information.

H264デコーダ60は、ESバッファ50を介してエレメンタリストリーム(ES)を入力し、デコードする。また、切替え制御部140からの切替え制御信号CHGに従ってデコード動作の開始又は停止をする。すなわち、切替え制御信号CHGによってデコード動作の開始の指示がなされるとデコード動作を開始し、デコード動作の停止の指示がなされると、次にデコード動作の開始が指示されるまで、デコード動作を停止する。そして、デコード動作を開始すると、IDRポインタ保持部90に格納されているIDRポインタデータに対応する最新のIDRアクセスユニット(IDR_AU)を最初に読み出してデコード(復号)し、更にそのIDRアクセスユニット(IDR_AU)に続くアクセスユニットを順次に読み出しつつデコードを行う。なお、このデコード処理はリソースが許す限りにおいて高速に行っている。また、PTSが存在しない非アクセスユニット(非IDR_AU)については、H.264の仕様に従いPTSを生成して、PTS判定部110へ供給する。   The H264 decoder 60 inputs an elementary stream (ES) via the ES buffer 50 and decodes it. Further, the decoding operation is started or stopped according to the switching control signal CHG from the switching control unit 140. That is, when the switching control signal CHG instructs to start the decoding operation, the decoding operation is started. When the instruction to stop the decoding operation is issued, the decoding operation is stopped until the next decoding operation is instructed. To do. When the decoding operation is started, the latest IDR access unit (IDR_AU) corresponding to the IDR pointer data stored in the IDR pointer holding unit 90 is first read and decoded (decoded), and the IDR access unit (IDR_AU) is further read. Decoding is performed while sequentially reading out the access units following. Note that this decoding process is performed at high speed as long as resources permit. For non-access units (non-IDR_AU) in which no PTS exists, A PTS is generated according to the H.264 specification and supplied to the PTS determination unit 110.

PTS判定部110は、切替え制御信号CHGに従ってH264デコーダ60がデコード動作を開始して各アクセスユニット(AU)をデコードする毎に、そのデコード完了時刻(現在時刻)と、そのデコードしたアクセスユニット(AU)のPTSとを比較する。そして、PTSの提示時間情報から得られる提示時刻が現在時刻より未来になると、そのデコードされた画像データとPTSとをイネーブル信号として、ビデオ送出部70に送出する。つまり、PTSで指定される提示時刻(別言すれば表示時刻)が現在時刻よりも時間的に未来となる時間関係になると、そのデコードされた画像データとPTSとをイネーブル信号として、ビデオ送出部70に送出する。   Each time the H264 decoder 60 starts decoding and decodes each access unit (AU) in accordance with the switching control signal CHG, the PTS determination unit 110 decodes the decoding completion time (current time) and the decoded access unit (AU). ) And PTS. When the presentation time obtained from the presentation time information of the PTS is later than the current time, the decoded image data and the PTS are sent to the video sending unit 70 as an enable signal. That is, when the presentation time (in other words, the display time) specified by the PTS becomes a time relationship that is in the future from the current time, the video transmission unit uses the decoded image data and the PTS as an enable signal. 70.

ビデオ送出部70は、上述のイネーブル信号として供給されたPTSで指定される提示時刻(表示時刻)になると、瞬時に上述のイネーブル信号として供給された画像データを、ビデオバッファ130に送出する。更に、そのイネーブル信号としての画像データをビデオバッファ130に送出した後は、ビデオ送出部70は、デマルチプレクサ40からESバッファ50を介して供給されるエレメンタリストリーム(ES)をH264デコーダ60がデコードすることで生じる画像データを、順次にビデオバッファ130に送出し、簡易動画サービスを提示するための通常の動作を行う。   When the presentation time (display time) specified by the PTS supplied as the enable signal is reached, the video transmission unit 70 instantaneously transmits the image data supplied as the enable signal to the video buffer 130. Further, after sending the image data as the enable signal to the video buffer 130, the video sending unit 70 decodes the elementary stream (ES) supplied from the demultiplexer 40 via the ES buffer 50 by the H264 decoder 60. The image data generated as a result is sequentially sent to the video buffer 130, and a normal operation for presenting a simple moving image service is performed.

MPEG-2デコーダ120は、切替え制御部140からの切替え制御信号CHGに従ってデコード動作の開始又は停止する。そして、MPEG-2 Video方式のデコード動作を開始すると、高画質動画サービスのPESのESをピクチャ単位でデコードし、ビデオバッファ130に供給する。   The MPEG-2 decoder 120 starts or stops the decoding operation according to the switching control signal CHG from the switching control unit 140. Then, when the decoding operation of the MPEG-2 Video system is started, the PES ES of the high-quality moving image service is decoded in units of pictures and supplied to the video buffer 130.

ビデオバッファ130は、H264デコーダ60またはMPEG-2デコーダ120でデコードされた画像データを一時記憶してディスプレイ等の表示部へ転送して映像を表示させる。   The video buffer 130 temporarily stores the image data decoded by the H264 decoder 60 or the MPEG-2 decoder 120 and transfers it to a display unit such as a display to display a video.

切替え制御部140は、チューナ10からのSメータ信号SmとOFDM復調部20からビットエラーレートデータBERを所定周期毎に入力し、それぞれ所定の閾値と比較することで、受信状態の良否を判定する。そして、高品質動画サービスを視聴中に受信状態が悪化すると簡易動画サービスの視聴に切替え、また、簡易動画サービスを視聴中に受信状態が良好になると、高品質動画サービスの視聴に切替える。また、ユーザー等の指示に従って、高品質動画サービスの視聴又は簡易動画サービスの視聴に切替える。なお、切替え制御信号CHGによって切替え制御を行うようになっている。   The switching control unit 140 receives the S meter signal Sm from the tuner 10 and the bit error rate data BER from the OFDM demodulating unit 20 every predetermined period, and compares the bit error rate data BER with a predetermined threshold value to determine whether the reception state is good or bad. . Then, when the reception state deteriorates while viewing the high-quality video service, switching to viewing of the simple video service is performed, and when the reception state becomes good while viewing the simple video service, switching to viewing of the high-quality video service is performed. Also, according to an instruction from the user or the like, switching to viewing of a high-quality moving image service or viewing of a simple moving image service is performed. Note that switching control is performed by a switching control signal CHG.

図2(a)(b)は、高品質動画サービスの視聴から簡易動画サービスへの視聴に切替わる際の同期処理動作を概念的に表した説明図である。   FIGS. 2A and 2B are explanatory diagrams conceptually showing a synchronization processing operation when switching from viewing of the high quality moving image service to viewing of the simple moving image service.

図2(a)は、H264デコーダ60がESバッファ50に記憶されている各アクセスユニット(AU)に対してデコードを完了する時刻(現在時刻)と、各アクセスユニット(AU)に対応付けられている固有の情報であるPTSで指定される提示時刻(表示時刻)との関係を説明するための図2(a)、図2(b)は、ESバッファ50に記憶されている各アクセスユニット(AU)を、PTSによる提示時刻に沿って表している。つまり、図示する提示時刻は、PTS(Presentation Time Stamp:提示時間情報)から得られる放送局側と同期した時刻を示している。そして、PTS=1.0から1.6側へと時間が進むものとして表している。また、IDR_AU(0)がIDRアクセスユニット、残りのアクセスユニットが非IDRアクセスユニットであるものとして表している。   FIG. 2A shows the time (current time) at which the H264 decoder 60 completes decoding for each access unit (AU) stored in the ES buffer 50, and is associated with each access unit (AU). 2A and FIG. 2B for explaining the relationship with the presentation time (display time) specified by the PTS, which is unique information, are the access units stored in the ES buffer 50 ( AU) is represented along the presentation time by PTS. That is, the illustrated presentation time indicates the time synchronized with the broadcast station side obtained from PTS (Presentation Time Stamp). And it represents as time progressing from PTS = 1.0 to 1.6 side. Also, IDR_AU (0) is represented as an IDR access unit, and the remaining access units are non-IDR access units.

前述したように、H.264/AVCに関するARIB TR−B14での運用では、IDR周期が通常約2秒、最大5秒と規定されていることから、本実施形態では、最新のIDRアクセスユニットをESバッファ50に記憶し、または、その最新のIDRアクセスユニットに関する情報(IDRポインタデータ)をIDRポインタ保持部90で常に保持し、次のIDRアクセスユニットが伝送されてくると、それを最新として更新することとしている。そして、図2(b)において、最新のIDRアクセスユニットがIDR_AU(0)であり、そのPTSで示される提示時刻が〔1.1〕となっているものとしている。つまり、本実施形態では、複数のIDRアクセスユニットが存在することが無いように、常に最新のIDRアクセスユニットで更新し、それがIDR_AU(0)であるとして示している。   As described above, H.P. In the operation in ARIB TR-B14 related to H.264 / AVC, the IDR cycle is normally defined as about 2 seconds and a maximum of 5 seconds. Therefore, in this embodiment, the latest IDR access unit is stored in the ES buffer 50, Alternatively, the information (IDR pointer data) regarding the latest IDR access unit is always held by the IDR pointer holding unit 90, and when the next IDR access unit is transmitted, it is updated as the latest. In FIG. 2B, the latest IDR access unit is IDR_AU (0), and the presentation time indicated by the PTS is [1.1]. That is, in the present embodiment, it is shown that IDR_AU (0) is always updated with the latest IDR access unit so that a plurality of IDR access units do not exist.

デコード動作を停止していたH264デコーダ60が、図2(a)の時刻〔1.25〕において、切替え制御信号CHGによってデコード動作の開始の指示がなされたとすると、今までデコード処理を行っていたMPEG-2デコーダ120でデコードされた最新の画像データをビデオバッファ130に格納させ、その格納させた画像データで静止画像を継続的にディスプレイ表示させる。   If the H264 decoder 60 that has stopped the decoding operation is instructed to start the decoding operation by the switching control signal CHG at time [1.25] in FIG. 2A, the decoding processing has been performed so far. The latest image data decoded by the MPEG-2 decoder 120 is stored in the video buffer 130, and still images are continuously displayed on the display using the stored image data.

そして、H264デコーダ60が、最新のIDRアクセスユニットであるIDR_AU(0)からデコードを開始する。   Then, the H264 decoder 60 starts decoding from IDR_AU (0) which is the latest IDR access unit.

IDR_AU(0)のデコードが完了した時刻(現在時刻)が、IDR_AU(0)のPTSで示される提示時刻〔1.0〕より時間的に過去(例えば、1.28)となったとすると、そのIDR_AU(0)をデコードした画像データに基づいてディスプレイ表示を行わず、引き続き静止画像をディスプレイ表示させる。そして、次のアクセスユニット、すなわち非IDR_AU(1)のデコード処理に移行する。   If the time at which decoding of IDR_AU (0) is completed (current time) is temporally past (eg, 1.28) from the presentation time [1.0] indicated by the PTS of IDR_AU (0), Based on the image data obtained by decoding IDR_AU (0), display is not performed, and still images are continuously displayed on the display. Then, the process proceeds to the decoding process of the next access unit, that is, non-IDR_AU (1).

この非IDR_AU(1)のデコードを完了した時刻(現在時刻)が、PTSで示される提示時刻〔1.2〕より時間的に過去(例えば、1.32)となったとすると、そのIDR_AU(0)をデコードした画像データに基づく表示を行わず、引き続き静止画像をディスプレイ表示させたまま、次のアクセスユニット、すなわち非IDR_AU(2)のデコード処理に移行する。   If the time at which decoding of this non-IDR_AU (1) is completed (current time) is past in time (eg, 1.32) from the presentation time [1.2] indicated by the PTS, the IDR_AU (0 ) Is not performed based on the decoded image data, and the process proceeds to the decoding process of the next access unit, that is, the non-IDR_AU (2), while the still image is continuously displayed on the display.

この非IDR_AU(2)のデコードを完了した時刻(現在時刻)が、PTSで示される提示時刻〔1.3〕より時間的に過去(例えば、1.345)となったとすると、この場合にも引き続き静止画像をディスプレイ表示させたままにする。   If the time when the decoding of this non-IDR_AU (2) is completed (current time) is past in time (eg, 1.345) from the presentation time [1.3] indicated by the PTS, Keep the still image on the display.

こうして、基準となるIDR_AU(0)から順繰りにデコードを行っていき、次の非IDR_AU(3)をデコード処理した結果、デコード完了時刻(現在時刻)が1.37となったとすると、非IDR_AU(3)のPTSで示される提示時刻〔1.4〕の方が現在時刻より未来の時刻となる。   Thus, when decoding is performed in order from the reference IDR_AU (0) and the next non-IDR_AU (3) is decoded, the decoding completion time (current time) becomes 1.37, the non-IDR_AU ( The presentation time [1.4] indicated by the PTS in 3) is a future time than the current time.

つまり、基準となるIDR_AU(0)から順繰りにデコードを行っていくと、次第に、提示時刻と現在時刻との差が小さくなって、デコード処理が提示時刻に追いついていき、ついに、提示時刻が現在時刻より未来の時刻となる。   In other words, when decoding is sequentially performed from the reference IDR_AU (0), the difference between the presentation time and the current time gradually decreases, and the decoding process catches up with the presentation time. It will be a future time.

こうして提示時刻が現在時刻より未来の時刻となると、その非IDR_AU(3)をデコードした画像データと、提示時刻〔1.4〕を示すPTSとをイネーブル信号としてビデオ送出部70に供給することにより、映像表示予約を行う。   Thus, when the presentation time is a time later than the current time, the image data obtained by decoding the non-IDR_AU (3) and the PTS indicating the presentation time [1.4] are supplied to the video sending unit 70 as an enable signal. Make a video display reservation.

そして、実際に提示時刻〔1.4〕になると、送出部70が瞬時に、イネーブル信号としての上記の画像データをビデオバッファ130に転送することで、静止画像の画像データを消去させ(上記の画像データで上書きさせ)、その転送した画像データに基づいてディスプレイ表示させる。   When the presentation time [1.4] is actually reached, the sending unit 70 instantaneously transfers the image data as the enable signal to the video buffer 130, thereby erasing the image data of the still image (as described above). Overwrite with image data) and display on the display based on the transferred image data.

したがって、切替え制御信号CHGで切替えの指示が成された時点「1.25」から、非IDR_AU(3)のデコードが完了した時点(すなわち、提示時刻が現在時刻より未来となった時点)で、簡易動画サービスへの同期処理が実際には完了することになり、更に実質的には、提示時刻〔1.4〕になった時点で、静止画像の表示からデコードした画像データに基づく表示へと切替わった時点で同期処理が完了することになる。そして、以降は、H264デコーダ60が通常のデコード処理を行って、デコード後の画像データを送出部70を介してビデオバッファ130へ転送し、簡易動画サービスの表示を継続する。   Therefore, from the time point “1.25” when the switching instruction is made by the switching control signal CHG to the time point when the decoding of the non-IDR_AU (3) is completed (ie, when the presentation time is in the future from the current time), The synchronization processing to the simple video service is actually completed, and more practically, when the presentation time [1.4] is reached, the display from the still image display to the display based on the decoded image data is performed. The synchronization process is completed at the time of switching. Thereafter, the H264 decoder 60 performs normal decoding processing, transfers the decoded image data to the video buffer 130 via the sending unit 70, and continues displaying the simple moving image service.

更に、提示時刻が現在時刻より未来となるまでの期間では、H264デコーダ60は通常のデコード処理よりも高速でデコード処理を行うことから、提示時刻が現在時刻より未来となるまでの期間は極めて短時間となり、同期処理を完了させる(同期を確立させる)のに要する時間は実質的に極めて短時間となる。このため、静止画像の表示を行っても短時間で済み、ユーザー等に対してほとんど違和感を与えることなく、簡易動画サービスへの切替えを迅速に行うことが可能である。   Furthermore, since the H264 decoder 60 performs the decoding process at a higher speed than the normal decoding process in the period until the presentation time becomes the future from the present time, the period until the presentation time becomes the future from the present time is extremely short. The time required to complete the synchronization process (establish synchronization) is substantially extremely short. For this reason, even if a still image is displayed, it takes only a short time, and it is possible to quickly switch to the simple moving image service with almost no discomfort to the user or the like.

次に、画像処理装置1の動作について、図3、図4、図5のフローチャートを参照して説明する。   Next, the operation of the image processing apparatus 1 will be described with reference to the flowcharts of FIGS. 3, 4, and 5.

図3(a)(b)は、切替え制御部140の動作を説明するためのフローチャート、図4は、画像処理装置1の全体の動作を説明するためのフローチャートである。図5は、図2で説明した簡易動画サービスへ切替わる際に必要となるアクセスユニット(AU)とPTS等を予め蓄積するための同期情報蓄積処理の動作を説明するためのフローチャートである。   FIGS. 3A and 3B are flowcharts for explaining the operation of the switching control unit 140, and FIG. 4 is a flowchart for explaining the overall operation of the image processing apparatus 1. FIG. 5 is a flowchart for explaining the operation of the synchronization information accumulation process for preliminarily accumulating the access unit (AU), the PTS and the like necessary when switching to the simple video service explained in FIG.

切替え制御部140は、電源投入などが行われて受信機が受信動作を開始すると、図3(a)と(b)に示す受信状態検出処理と切替え判定処理を並列的に行う。なお、本実施形態では、ユーザー等が切替え制御部140に対して、自動切替えを禁止する「マニュアルモード」と、受信状態に応じて自動切替えを行わせる「自動モード」が備えられている。   When the power is turned on and the receiver starts the receiving operation, the switching control unit 140 performs the reception state detection process and the switching determination process shown in FIGS. 3A and 3B in parallel. In the present embodiment, a “manual mode” in which the user or the like prohibits the automatic switching from the switching control unit 140 and an “automatic mode” in which automatic switching is performed according to the reception state are provided.

そして、ユーザー等が「マニュアルモード」を指定し、高画質動画サービスの受信を指定すると、切替え制御信号CHGによってMPEG-2デコーダ120を動作させ、H264デコーダ60を停止させ、受信状態が悪化しても継続的にMPEG-2デコーダ120を動作させ、H264デコーダ60を停止させる。   When the user or the like designates “manual mode” and designates reception of a high-quality video service, the MPEG-2 decoder 120 is operated by the switching control signal CHG, the H264 decoder 60 is stopped, and the reception state deteriorates. Also, the MPEG-2 decoder 120 is continuously operated and the H264 decoder 60 is stopped.

また、ユーザー等が「自動モード」を指定し、高画質動画サービスの受信を指定すると、切替え制御信号CHGによってMPEG-2デコーダ120を動作させ、H264デコーダ60を停止させる。ただし、受信状態が悪化すると、MPEG-2デコーダ120を停止させ、H264デコーダ60を動作させる。更に、受信状態が良好になる(復帰する)と、MPEG-2デコーダ120を再び動作させ、H264デコーダ60を停止させる。このように、ユーザー等が「自動モード」を指定し、高画質動画サービスの受信を指定すると、受信状態に応じた切替えを行うようになっている。   When the user or the like designates the “automatic mode” and designates reception of the high-quality video service, the MPEG-2 decoder 120 is operated by the switching control signal CHG and the H264 decoder 60 is stopped. However, when the reception state deteriorates, the MPEG-2 decoder 120 is stopped and the H264 decoder 60 is operated. Further, when the reception state becomes good (returns), the MPEG-2 decoder 120 is operated again and the H264 decoder 60 is stopped. As described above, when the user or the like designates the “automatic mode” and designates reception of the high-quality moving image service, switching according to the reception state is performed.

以下の動作説明では、便宜上、ユーザー等が「自動モード」を指定し、高画質動画サービスの受信を指定したものとして説明することとする。   In the following description of the operation, for the sake of convenience, it is assumed that the user or the like has designated “auto mode” and has designated reception of a high-quality moving image service.

まず、切替え制御部140は、図3(a)のステップS1において、所定のサンプリング時間を、内蔵するタイマー(T)にセットし、ステップS2において、タイマー(T)の計時値がサンプリング時間を超えたか否かの判断を行う。そして、超えたと判断するとステップS3において、チューナ10から供給されるSメータ信号SmとOFDM復調部20から供給されるビットエラーレートのデータBERを検出(取得)した後、再びステップS1からの処理を繰り返す。   First, the switching control unit 140 sets a predetermined sampling time in the built-in timer (T) in step S1 of FIG. 3A, and in step S2, the measured value of the timer (T) exceeds the sampling time. Judge whether or not. Then, if it is determined that it has been exceeded, in step S3, the S meter signal Sm supplied from the tuner 10 and the bit error rate data BER supplied from the OFDM demodulator 20 are detected (acquired), and then the processing from step S1 is performed again. repeat.

このように、切替え制御部140は、所定のサンプリング時間毎に、Sメータ信号SmとビットエラーレートのデータBERを検出(取得)することで、ヒステリシスを持たせて受信状態の検出を行う。なお、サンプリング時間は、受信状態の変化を敏感に検出することとなったり、また鈍感となることのないように、調整されることが望ましい。   As described above, the switching control unit 140 detects (acquires) the S meter signal Sm and the bit error rate data BER every predetermined sampling time, thereby detecting the reception state with hysteresis. Note that the sampling time is desirably adjusted so that a change in the reception state is not sensitively detected or insensitive.

更に、切替え制御部140は、図3(a)の処理と平行して図3(b)の処理も行い、ステップS10において、現在視聴中の番組(サービス)を確認する。高画質動画サービスを視聴中であれば、ステップS11において、図3(a)のステップS2で検出した最新のSメータ信号SmとビットエラーレートのデータBERを夫々所定の閾値と比較し、その比較結果から受信状態の良否を判定する。そして、受信状態が悪化していると判定すると、簡易動画サービスへの視聴に切替えるべき条件が成立している(Yes)と判断して、ステップS12へ移行し、受信状態が良好であると判定すると、簡易動画サービスへの視聴に切替えるべき条件が成立していない(No)と判断し、ステップS10からの処理を繰り返す。   Further, the switching control unit 140 performs the process of FIG. 3B in parallel with the process of FIG. 3A, and confirms the program (service) currently being viewed in step S10. If the high-quality video service is being viewed, in step S11, the latest S meter signal Sm detected in step S2 of FIG. 3A and the bit error rate data BER are respectively compared with a predetermined threshold value, and the comparison is made. The quality of the reception state is determined from the result. If it is determined that the reception state is deteriorated, it is determined that the condition for switching to viewing to the simple video service is satisfied (Yes), the process proceeds to step S12, and the reception state is determined to be good. Then, it is determined that the condition for switching to viewing to the simple video service is not satisfied (No), and the processing from step S10 is repeated.

なお、ユーザー等が「マニュアルモード」にして簡易動画サービスを視聴するための入力指示をした場合にも、簡易動画サービスへの視聴に切替えるべき条件が成立している(Yes)と判断することとなるが、その場合の動作については説明を割愛する。   In addition, even when the user or the like makes an input instruction for viewing the simple video service in the “manual mode”, it is determined that the condition for switching to the simple video service is satisfied (Yes). However, the description of the operation in that case is omitted.

ステップS12では、切替え制御部140は、簡易動画サービスへの視聴に切替えるためのイベントを発生する。つまり、切替え制御信号CHGによって、画像処理装置1全体の動作を「高画質動画サービス」から「簡易動画サービス」を視聴するための動作に切替えさせる。   In step S12, the switching control unit 140 generates an event for switching to viewing to the simple video service. That is, the operation of the entire image processing apparatus 1 is switched from the “high-quality moving image service” to the operation for viewing the “simple moving image service” by the switching control signal CHG.

次に、上述のステップS10において、簡易動画サービスを視聴中であれば、ステップS13に移行し、図3(a)のステップS2で検出した最新のSメータ信号SmとビットエラーレートのデータBERを夫々所定の閾値と比較し、その比較結果から受信状態の良否を判定する。そして、受信状態が良好であると判定すると、高画質動画サービスへの視聴に切替えるべき条件が成立している(Yes)と判断し、ステップS14へ移行し、受信状態が悪化している判定すると、高画質動画サービスへの視聴に切替えるべき条件が成立していない(No)と判断し、ステップS10からの処理を繰り返す。   Next, in step S10 described above, if the simple video service is being viewed, the process proceeds to step S13, and the latest S meter signal Sm and the bit error rate data BER detected in step S2 of FIG. Each is compared with a predetermined threshold, and the quality of the reception state is determined from the comparison result. If it is determined that the reception state is good, it is determined that the condition for switching to viewing to the high-quality video service is satisfied (Yes), and the process proceeds to step S14, where it is determined that the reception state is deteriorated. Then, it is determined that the condition for switching to viewing to the high-quality video service is not satisfied (No), and the processing from step S10 is repeated.

なお、ユーザー等が「マニュアルモード」にして高画質動画サービスを視聴するための入力指示をした場合にも、高画質動画サービスへの視聴に切替えるべき条件が成立している(Yes)と判断することとなるが、その場合の動作については説明を割愛する。   Note that even when the user or the like makes an input instruction for viewing the high-quality video service in the “manual mode”, it is determined that the condition for switching to viewing to the high-quality video service is satisfied (Yes). However, the explanation of the operation in that case is omitted.

ステップS14では、切替え制御部140は、高画質動画サービスへの視聴に切替えるためのイベントを発生する。つまり、切替え制御信号CHGによって、画像処理装置1全体の動作を「簡易動画サービス」から「高画質動画サービス」を視聴するための動作に切替えさせる。   In step S14, the switching control unit 140 generates an event for switching to viewing to a high-quality video service. That is, the operation of the entire image processing apparatus 1 is switched from the “simple moving image service” to the operation for viewing the “high quality moving image service” by the switching control signal CHG.

以上に説明したように、切替え制御部140は、受信状態を監視しつつ受信状態に応じて、画像処理装置1全体の動作を「高画質動画サービス」から「簡易動画サービス」への切替え、または、「簡易動画サービス」から「高画質動画サービス」への切替え制御を行う。   As described above, the switching control unit 140 switches the operation of the entire image processing apparatus 1 from “high-quality video service” to “simple video service” according to the reception state while monitoring the reception state, or , Switching control from “simple video service” to “high-quality video service” is performed.

次に、図4を参照して、画像処理装置1全体の動作(デコード処理)について説明する。   Next, the operation (decoding process) of the entire image processing apparatus 1 will be described with reference to FIG.

ステップS20において、画像処理装置1の各構成要素が、切替え制御信号CHGによって切替えイベント(切替え制御)が発生されたか判断する。切替え制御が発生されていない場合には、ステップS33において、現在視聴中のサービスを視聴するための通常デコードの処理(通常のデコード処理)を継続する。つまり、現在視聴中のサービスが「高画質動画サービス」であれば、MPEG-2デコーダ120が通常のデコード処理を継続し、H264デコーダ60は停止したままとなる。一方、現在視聴中のサービスが「簡易動画サービス」であれば、H264デコーダ60が通常のデコード処理を継続し、MPEG-2デコーダ120は停止したままとなる。   In step S20, each component of the image processing apparatus 1 determines whether a switching event (switching control) is generated by the switching control signal CHG. If the switching control is not generated, the normal decoding process (normal decoding process) for viewing the service currently being viewed is continued in step S33. That is, if the service currently being viewed is the “high-quality moving image service”, the MPEG-2 decoder 120 continues normal decoding processing and the H264 decoder 60 remains stopped. On the other hand, if the service currently being viewed is the “simple video service”, the H264 decoder 60 continues the normal decoding process, and the MPEG-2 decoder 120 remains stopped.

次に、上述のステップS20において、切替えイベント(切替え制御)が発生されていると、ステップS21において、ビデオバッファ130が最新の画像データ(フレーム画のデータ)を保持する。つまり、ビデオバッファ130は、現在視聴中のサービスが「高画質動画サービス」であった場合には、MPEG-2デコーダ120から供給された最新の画像データ(フレーム画のデータ)を保持し、現在視聴中のサービスが「簡易動画サービス」であった場合には、H264デコーダ60から供給された最新の画像データ(フレーム画のデータ)を保持することとなる。   Next, when a switching event (switching control) is generated in step S20, the video buffer 130 holds the latest image data (frame image data) in step S21. That is, the video buffer 130 holds the latest image data (frame image data) supplied from the MPEG-2 decoder 120 when the service currently being viewed is the “high-quality video service”. When the service being viewed is the “simple video service”, the latest image data (frame image data) supplied from the H264 decoder 60 is held.

更にステップS22において、ビデオバッファ130がその保持した最新の画像データを継続して出力することにより、静止画をディスプレイ表示させる。   Further, in step S22, the video buffer 130 continuously outputs the latest image data stored therein, thereby displaying a still image on the display.

次に、ステップS23において、切替え制御信号CHGによって切替え先が「高画質動画サービス」となっていると、MPEG-2デコーダ120が動作を開始し、H264デコーダ60が停止してステップS24へ移行し、「簡易動画サービス」であればMPEG-2デコーダ120が停止し、H264デコーダ60が動作を開始してステップS28へ移行する。   Next, in step S23, when the switching destination is “high quality video service” by the switching control signal CHG, the MPEG-2 decoder 120 starts operating, the H264 decoder 60 stops, and the process proceeds to step S24. If it is “simple video service”, the MPEG-2 decoder 120 stops, the H264 decoder 60 starts its operation, and the process proceeds to step S28.

ステップS24に移行すると、図5に示す「同期情報蓄積処理」が起動され、更にステップS25において、高画質動画サービス同期処理が開始される。つまり、ステップS24では、MPEG-2デコーダ120が動作している間に、簡易動画サービスへ切替わった場合の同期処理を行う際に必要となるアクセスユニット(AU)とPTS等とをIDRポインタデータによって対応付けて予め蓄積しておくための、同期情報蓄積処理が開始される。なお、この同期情報蓄積処理については後述する。   When the process proceeds to step S24, the “synchronization information storage process” shown in FIG. 5 is started, and in step S25, the high-quality video service synchronization process is started. That is, in step S24, the access unit (AU), PTS, and the like necessary for performing synchronization processing when switching to the simple video service while the MPEG-2 decoder 120 is operating are set to IDR pointer data. The synchronization information accumulation process for pre-accumulating and associating with is started. This synchronization information accumulation process will be described later.

ステップS25では、MPEG-2デコーダ120がデマルチプレクサ40から供給されるPESパケットのPESヘッダからPTS(提示時間情報)を取得し、そのPTSとPCR(番組時刻基準値情報)から、放送側と同期するために提示時刻と現在時刻とを合わせるための同期処理を開始する。そして、ステップS26で同期処理が完了すると、ステップS27において、同期したときにデコードした画像データをビデオバッファに供給し、その画像データに基づくフレーム画像をディスプレイ表示させ、ステップS20からの処理を継続する。   In step S25, the MPEG-2 decoder 120 acquires PTS (presentation time information) from the PES header of the PES packet supplied from the demultiplexer 40, and synchronizes with the broadcast side from the PTS and PCR (program time reference value information). In order to do this, a synchronization process for matching the presentation time with the current time is started. When the synchronization processing is completed in step S26, the image data decoded at the time of synchronization is supplied to the video buffer in step S27, the frame image based on the image data is displayed on the display, and the processing from step S20 is continued. .

ここで、MPEG-2デコーダ120が同期処理を完了すると、ステップS20からステップS33に移行し、MPEG-2デコーダ120が通常のデコード処理を行うこととなり、それ以降は、高画質動画サービスがディスプレイ表示されることになる。   Here, when the MPEG-2 decoder 120 completes the synchronization processing, the process proceeds from step S20 to step S33, and the MPEG-2 decoder 120 performs normal decoding processing. Thereafter, the high-quality video service is displayed on the display. Will be.

次に、図5の同期情報蓄積処理について説明する。上述したように、ステップS24において同期情報蓄積処理が起動されると、MPEG-2デコーダ120による高画質動画サービスのための動作を行っている間中、ESバッファ50とIDR検出部80とIDRポインタ保持部90及びPTS保持部100が、図5の同期情報蓄積処理を継続して行う。   Next, the synchronization information accumulation process of FIG. 5 will be described. As described above, when the synchronization information accumulation process is started in step S24, the ES buffer 50, the IDR detection unit 80, and the IDR pointer are used during the operation for the high-quality moving image service by the MPEG-2 decoder 120. The holding unit 90 and the PTS holding unit 100 continuously perform the synchronization information accumulation process of FIG.

まず、図5のステップS241において、高画質動画サービスのための動作中であることの確認がなされた上でステップS242に移行する。   First, in step S241 in FIG. 5, after confirming that the operation for the high-quality video service is being performed, the process proceeds to step S242.

ステップS242では、IDR検出部80が、デマルチプレクサ40からESバッファ50に新たなPESのエレメンタリストリームESが格納されたかどうか否かを判定する。そして、新たなエレメンタリストリームESが格納されるまで判定を繰り返し、新たなエレメンタリストリームESが格納されるとステップS243に移行する。   In step S <b> 242, the IDR detection unit 80 determines whether or not a new PES elementary stream ES is stored in the ES buffer 50 from the demultiplexer 40. The determination is repeated until a new elementary stream ES is stored. When a new elementary stream ES is stored, the process proceeds to step S243.

ステップS243では、IDR検出部80が、ESバッファ50に蓄積された新しいエレメンタリストリームESを解析し、続くステップS244において、IDRアクセスユニットが存在するか否かを判定する。IDRアクセスユニットが存在してない場合(すなわち、非IDRアクセスユニットである場合)は判定条件が満たされず、ステップS242に戻って処理を繰り返す。一方、IDRアクセスユニットが存在していた場合は、判定条件が満たされ、ステップS245に移行する。   In step S243, the IDR detection unit 80 analyzes the new elementary stream ES accumulated in the ES buffer 50, and determines whether an IDR access unit exists in the subsequent step S244. If no IDR access unit exists (that is, if it is a non-IDR access unit), the determination condition is not satisfied, and the process returns to step S242 and is repeated. On the other hand, if the IDR access unit exists, the determination condition is satisfied, and the process proceeds to step S245.

ステップS245では、IDRポインタ保持部90が、当該検出したIDRアクセスユニットのESバッファ50におけるIDRポインタデータを保持(別言すると、既に保持していたIDRポインタデータを上書き更新)し、次に、ステップS246において、PTS保持部100が、対応するIDRアクセスユニットのPTSを保存して、ステップS242からの処理を繰り返す。   In step S245, the IDR pointer holding unit 90 holds the IDR pointer data in the ES buffer 50 of the detected IDR access unit (in other words, overwrites and updates the already held IDR pointer data). In S246, the PTS holding unit 100 stores the PTS of the corresponding IDR access unit, and repeats the processing from Step S242.

そして、切替え制御信号CHGによる簡易動画サービスへの切替え制御がなされるまで(別言すれば、MPEG-2デコーダ120が動作中の間)、同期情報蓄積処理が継続的に行われる。   The synchronization information accumulation process is continuously performed until the switching control to the simple video service is performed by the switching control signal CHG (in other words, while the MPEG-2 decoder 120 is operating).

再び、図4において、上述のステップS23において、切替え制御信号CHGにより、簡易動画サービスへの切替え制御がなされていると、ステップS28へ移行し、MPEG-2デコーダ120が停止し、H264デコーダ60が動作を開始することになる。そして、簡易動画サービスのための同期処理が開始される。   In FIG. 4 again, when the switching control signal CHG is controlled to switch to the simple video service in the above-described step S23, the process proceeds to step S28, the MPEG-2 decoder 120 stops, and the H264 decoder 60 The operation will start. Then, synchronization processing for the simple video service is started.

次にステップS29において、H264デコーダ60が、IDRポインタ保持部90に保持されているIDRポインタデータに関連づけられている最新のIDRアクセスユニットをESバッファ50から取得してデコードし、次にステップS30において、PTS判定部110が、PTS保持部100に格納されている当該IDRアクセスユニットのPTS(つまり、対応付けられている固有のPTS)を取得し、更にステップS30において、その取得したPTSで示される提示時刻とデコード完了時刻(現在時刻)との差から、提示時刻が現在時刻より未来の時刻となっているか否か判断する。そして、提示時刻が現在時刻より未来の時刻でないときには、ステップS29に戻って、IDRアクセスユニットの次のアクセスユニット(AU)についてステップS29〜S31の処理を行い、その結果、提示時刻が現在時刻より未来の時刻となっていなければ、ステップS29に戻って、更に次のアクセスユニット(AU)についてステップS29〜S31の処理を行う。   Next, in step S29, the H264 decoder 60 acquires the latest IDR access unit associated with the IDR pointer data held in the IDR pointer holding unit 90 from the ES buffer 50 and decodes it, and then in step S30. The PTS determination unit 110 acquires the PTS (that is, the associated unique PTS) of the IDR access unit stored in the PTS holding unit 100, and is further indicated by the acquired PTS in step S30. From the difference between the presentation time and the decoding completion time (current time), it is determined whether or not the presentation time is a time later than the current time. Then, when the presentation time is not a future time than the current time, the process returns to step S29, and the processing of steps S29 to S31 is performed for the next access unit (AU) of the IDR access unit. If it is not a future time, the process returns to step S29, and the processes of steps S29 to S31 are performed for the next access unit (AU).

つまり、図2で説明したように、提示時刻が現在時刻より未来の時刻となるまで、ESバッファ50に格納されている基準のIDRアクセスユニットから順次に他のアクセスユニット(AU)についても処理を行い、「提示時刻が現在時刻より未来の時刻となる」という条件が満たされると、同期処理が完了したことになり、ステップS32に移行する。   That is, as described with reference to FIG. 2, the other access units (AUs) are sequentially processed from the reference IDR access unit stored in the ES buffer 50 until the presentation time becomes a future time from the current time. If the condition that “the presentation time is a future time from the current time” is satisfied, the synchronization processing has been completed, and the process proceeds to step S32.

そして、ステップS32において、PTS判定部110が、送出部70に対して、同期確立したときのPTSとデコードされた画像データとをイネーブル信号として転送し、そして提示時刻が来ると、その画像データを瞬時にビデオバッファ130に格納させてディスプレイ表示させる。つまり、静止画表示の状態から、H264デコーダ60による通常のデコード動作状態となる。   In step S32, the PTS determination unit 110 transfers the PTS when the synchronization is established and the decoded image data as an enable signal to the sending unit 70, and when the presentation time comes, the image data is transferred. It is stored in the video buffer 130 instantaneously and displayed on the display. That is, the state of the still image display is changed to the normal decoding operation state by the H264 decoder 60.

そして、H264デコーダ60が通常のデコードを開始すると、ステップS20からステップS33に移行し、それ以降は、H264デコーダ60が通常のデコード処理を継続することとなる。   When the H264 decoder 60 starts normal decoding, the process proceeds from step S20 to step S33, and thereafter, the H264 decoder 60 continues normal decoding processing.

〔実施形態の効果〕
以上に説明したように、本実施形態の画像処理装置1によれば、次のような効果が得られる。
[Effect of the embodiment]
As described above, according to the image processing apparatus 1 of the present embodiment, the following effects can be obtained.

まず、MPEG-2デコーダ120でHDTVやSDTVの高画質動画サービスをデコードしている際に、ESバッファ50とIDR検出部80とIDRポインタ保持部90及びPTS保持部100で構成される情報蓄積処理手段が、簡易動画サービス(ワンセグ放送など)のストリームから、アクセスユニットとその固有の情報である提示時間情報を有するPTSを記憶しておき、切替え制御部140によってMPEG-2デコーダ120からH264デコーダ60への切替え制御がなされると、H264デコーダ60が情報蓄積処理手段に記憶されている最新のIDRアクセスユニット(IDR_AU)から各アクセスユニットを順にデコードし、そのデコード完了時刻(現在時刻)よりPTSで示される提示時刻の方が未来の時刻となる場合をPTS判定部110が判定すると、H264デコーダ60が同期処理を完了して通常のデコード処理に移行するようになっている。このことから、H264デコーダ60への切替え制御が行われてから、H264デコーダ60が同期確立となるまでの同期処理期間を短縮化することが可能となり、ユーザー対して違和感を低減することができる。   First, when the high-definition video service of HDTV or SDTV is decoded by the MPEG-2 decoder 120, an information storage process including the ES buffer 50, the IDR detection unit 80, the IDR pointer holding unit 90, and the PTS holding unit 100 is performed. The means stores an access unit and a PTS having presentation time information, which is information unique to the access unit, from a stream of a simple video service (such as one-segment broadcasting), and the switching control unit 140 converts the MPEG-2 decoder 120 to the H264 decoder 60. When the switching control is performed, the H264 decoder 60 sequentially decodes each access unit from the latest IDR access unit (IDR_AU) stored in the information accumulation processing means, and the PTS from the decoding completion time (current time) When the presented time is in the future The the PTS judgment unit 110 determines, so that the H264 decoder 60 is shifted to the normal decoding process to complete the synchronization process. From this, it is possible to shorten the synchronization processing period from when the switching control to the H264 decoder 60 is performed until the H264 decoder 60 establishes synchronization, and it is possible to reduce a sense of discomfort for the user.

また、本実施形態の画像処理装置1では、上述の同期処理の短縮化を実現することと併せて、切替先のデコーダが同期処理を行っている間、切替えられる前のデコーダがデコードした画像データを静止画像として表示するので、黒表示を行う従来技術に較べて、ユーザー等に対し違和感を低減することができる。   Further, in the image processing apparatus 1 of the present embodiment, in addition to realizing the shortening of the synchronization processing described above, the image data decoded by the decoder before switching while the switching destination decoder performs the synchronization processing. Is displayed as a still image, it is possible to reduce a sense of discomfort to the user or the like as compared with the prior art that performs black display.

また、切替え制御部140がH264デコーダ60とMPEG-2デコーダ120を排他的に切替える、すなわち、H264デコーダ60を動作させるときにはMPEG-2デコーダ120を停止させ、MPEG-2デコーダ120を動作させるときにはH264デコーダ60を停止させるので、各デコーダの処理負担を軽減することができると共に、消費電力の低減等を図ることができる。また、こうしたデコーダの排他的切替を行っても再生影像が途切れることなくシームレスにディスプレイ表示できるのは、上述のESバッファ50とIDR検出部80とIDRポインタ保持部90及びPTS保持部100で構成される構情報蓄積処理手段によって、同期処理を行う際に必要となるPTSとアクセスユニット(AU)を記憶しておき、その記憶しておいたPTSとアクセスユニット(AU)を用いて同期処理を短時間で完了させるようにしたことが大きく寄与している。   Further, the switching control unit 140 exclusively switches between the H264 decoder 60 and the MPEG-2 decoder 120, that is, when the H264 decoder 60 is operated, the MPEG-2 decoder 120 is stopped, and when the MPEG-2 decoder 120 is operated, H264. Since the decoder 60 is stopped, the processing load on each decoder can be reduced and the power consumption can be reduced. In addition, the above-described ES buffer 50, IDR detection unit 80, IDR pointer holding unit 90, and PTS holding unit 100 are capable of seamless display display without interruption of the reproduced image even when such exclusive switching of the decoder is performed. The composition information storage processing means stores the PTS and access unit (AU) necessary for performing the synchronization process, and shortens the synchronization process using the stored PTS and access unit (AU). The fact that it was completed in time greatly contributed.

また、切替え制御部140が受信状態を検出し、検出した受信状態の良否に応じて、MPEG-2デコーダ120とH264デコーダ60を自動的に切替制御するので、ユーザー等に対し、受信状態に良いときには高画質動画サービスを自動的に提供し、受信状態の悪いときには伝送品質の良い簡易動画サービスを自動的に提供することができ、特に、携帯電話等の移動端末装置や、自動車に搭載されるナビゲーションシステム等において、ユーザー等に対し優れた利便性や操作性を提供することができる。   In addition, the switching control unit 140 detects the reception state, and automatically controls switching between the MPEG-2 decoder 120 and the H264 decoder 60 according to the quality of the detected reception state. Sometimes a high-quality video service can be automatically provided, and a simple video service with good transmission quality can be automatically provided when the reception condition is poor, especially in mobile terminal devices such as mobile phones and automobiles. In a navigation system or the like, excellent convenience and operability can be provided to a user or the like.

なお、以上に説明した実施形態では、ESバッファ50とIDR検出部80とIDRポインタ保持部90及びPTS保持部100で構成される構情報蓄積処理手段によって、PTSとアクセスユニット(AU)をESバッファ50に記憶する際、常に最新のIDRアクセスユニット(IDR_AU)が得られるように更新しつつ記憶するとしているが、かかる更新の処理を行わないようにしても良い。つまり、切替え制御部140によってH264デコーダ60への切替制御がなされ、H264デコーダ60が同期処理を行う際に、ESバッファ50に記憶されていた最新のIDRアクセスユニット(IDR_AU)を基準にしてデコード処理を開始し、提示時刻がデコード完了時(現在時刻)より未来の時刻となる時間関係をPTS判定部110が判定すればよい。すなわち、PTSとアクセスユニット(AU)をESバッファ50に記憶する際には、必ずしも最新の1つのIDRアクセスユニットだけを記憶する処理する必要は無く、複数のIDRアクセスユニットを記憶するようにしても良い。要は、H264デコーダ60への切替制御がなされ、H264デコーダ60が同期処理を行う際に、ESバッファ50に記憶されていた最新のIDRアクセスユニット(IDR_AU)を基準にしてデコード処理を開始するようにすれば良い。   In the embodiment described above, the PTS and the access unit (AU) are transferred to the ES buffer by the composition information storage processing unit configured by the ES buffer 50, the IDR detection unit 80, the IDR pointer holding unit 90, and the PTS holding unit 100. When the data is stored in 50, it is stored while being updated so that the latest IDR access unit (IDR_AU) can always be obtained. However, such update processing may not be performed. That is, when the switching control unit 140 performs switching control to the H264 decoder 60 and the H264 decoder 60 performs synchronization processing, the decoding processing is performed based on the latest IDR access unit (IDR_AU) stored in the ES buffer 50. And the PTS determination unit 110 may determine a time relationship in which the presentation time is a time that is in the future from the completion of decoding (current time). That is, when storing the PTS and access unit (AU) in the ES buffer 50, it is not always necessary to store only the latest one IDR access unit, and a plurality of IDR access units may be stored. good. In short, the switching control to the H264 decoder 60 is performed, and when the H264 decoder 60 performs the synchronization process, the decoding process is started based on the latest IDR access unit (IDR_AU) stored in the ES buffer 50. You can do it.

実施形態に係る画像処理装置の構成を表したブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment. 図1に示した画像処理装置の機能を説明するための説明図である。It is explanatory drawing for demonstrating the function of the image processing apparatus shown in FIG. 図1に示した画像処理装置の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the image processing apparatus shown in FIG. 1. 更に、図1に示した画像処理装置の動作を説明するためのフローチャートである。2 is a flowchart for explaining the operation of the image processing apparatus shown in FIG. 更に、図1に示した画像処理装置の動作を説明するためのフローチャートである。2 is a flowchart for explaining the operation of the image processing apparatus shown in FIG.

符号の説明Explanation of symbols

1…画像処理装置
50…ESバッファ
60…H264デコーダ
80…IDR検出部
90…IDRポインタ保持部
100…PTS保持部
110…PTS判定部
120…MPEG-2デコーダ
130…ビデオバッファ
140…切替え制御部
DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus 50 ... ES buffer 60 ... H264 decoder 80 ... IDR detection part 90 ... IDR pointer holding part 100 ... PTS holding part 110 ... PTS determination part 120 ... MPEG-2 decoder 130 ... Video buffer 140 ... Switching control part

Claims (5)

符号化及びパケット化された高画質動画サービスのストリームをデコードする第1のデコーダ手段と、各々固有の提示時間情報が付された基準のアクセスユニット及び非基準のアクセスユニットが多重化された簡易動画サービスのストリームをデコードする第2のデコーダ手段とを備える画像処理装置であって、
前記第1のデコード手段と第2のデコード手段の動作と停止を制御し、前記第1のデコード手段を動作させるときには前記第2のデコード手段を停止させ、前記第2のデコード手段を動作させるときには前記第1のデコード手段を停止させる切替え制御手段と、
前記第1のデコード手段がデコード動作している間、前記簡易動画サービスのストリームから、前記固有の提示時間情報とアクセスユニットとを対応付けて順次に記憶すると共に、前記切替え制御手段によって前記第1のデコード手段のデコード動作から前記第2のデコード手段のデコード動作へと切替えられると、前記第1のデコード手段がデコード動作している間に記憶しておいた前記アクセスユニットのうち、最新の基準のアクセスユニットから順次に前記第2のデコーダ手段に通常よりも高速でデコードさせる同期情報蓄積処理手段と、
前記第2のデコーダ手段が前記アクセスユニットのデコードを完了する現在時刻と、デコードされた前記アクセスユニットに対応付けられて前記同期情報蓄積処理手段に記憶されている固有の提示時間情報による提示時刻とを比較し、当該提示時刻が前記現在時刻より未来の時刻となると、同期確立と判定して、前記第2のデコーダ手段に通常のデコード処理を開始させる判定手段と、
を具備することを特徴とする画像処理装置。
A simple video in which the first decoder means for decoding the encoded and packetized high-definition video service stream, and the reference access unit and the non-reference access unit each having unique presentation time information are multiplexed. A second decoder means for decoding a service stream, comprising:
Controlling the operation and stop of the first decoding means and the second decoding means, stopping the second decoding means when operating the first decoding means, and operating the second decoding means Switching control means for stopping the first decoding means;
While the first decoding means is performing the decoding operation, the unique presentation time information and the access unit are sequentially stored in association with each other from the stream of the simple video service, and the first control means controls the first decoding means. Switching from the decoding operation of the decoding means to the decoding operation of the second decoding means, the latest reference among the access units stored during the decoding operation of the first decoding means Synchronization information storage processing means for causing the second decoder means to sequentially decode from the access unit at a higher speed than usual,
A current time at which the second decoder means completes the decoding of the access unit; a presentation time by unique presentation time information stored in the synchronization information storage processing means in association with the decoded access unit; When the presentation time is a time later than the current time, a determination unit that determines that synchronization is established and causes the second decoder unit to start normal decoding processing;
An image processing apparatus comprising:
前記第1のデコード手段と前記第2のデコード手段でデコードされる画像データを一時保持してディスプレイ表示するビデオバッファを更に備え、
前記ビデオバッファは、前記切替え制御手段によって前記第1のデコード手段のデコード動作から前記第2のデコード動作へと切替えられると、当該切替え時に前記第1のデコード手段でデコードされた画像データに基づいて、当該切替え時から前記判定手段が同期確立と判定して前記第2のデコーダ手段が通常のデコード処理を開始するまでの間、静止画像をディスプレイ表示すること、
を特徴とする請求項1に記載の画像処理装置。
A video buffer for temporarily holding and displaying the image data decoded by the first decoding means and the second decoding means;
When the switching control means switches from the decoding operation of the first decoding means to the second decoding operation, the video buffer is based on the image data decoded by the first decoding means at the time of the switching. From the time of the switching, until the determination unit determines that synchronization is established and the second decoder unit starts normal decoding processing, a still image is displayed on the display.
The image processing apparatus according to claim 1.
前記高画質動画サービスと簡易動画サービスは、無線受信手段で受信されるサービスであって、
前記切替え制御手段は、前記無線受信手段における受信状態の良否を判定し、前記第1のデコード手段がデコード動作中に受信状態が悪化したことを検出すると、前記第2のデコード手段のデコード動作に切り替えること、
を特徴とする請求項1又は2に記載の画像処理装置。
The high-quality video service and the simple video service are services received by wireless receiving means,
The switching control unit determines whether or not the reception state in the wireless reception unit is good, and when the first decoding unit detects that the reception state has deteriorated during the decoding operation, the switching control unit performs the decoding operation of the second decoding unit. Switching,
The image processing apparatus according to claim 1, wherein:
前記第1のデコード手段は、MPEG-2Video方式に準拠したデコードを行い、前記第2のデコード手段は、H.264/AVC方式に準拠したデコードを行うこと、
を特徴とする請求項1〜3の何れか1項に記載の画像処理装置。
The first decoding means performs decoding conforming to the MPEG-2 Video system, and the second decoding means includes H.264 decoding. Decoding in accordance with H.264 / AVC format,
The image processing apparatus according to any one of claims 1 to 3.
符号化及びパケット化された高画質動画サービスのストリームをデコードする第1のデコーダ工程と、各々固有の提示時間情報が付された基準のアクセスユニット及び非基準のアクセスユニットが多重化された簡易動画サービスのストリームをデコードする第2のデコーダ工程とを備える画像処理方法であって、
前記第1のデコード工程と第2のデコード工程の処理と停止を制御し、前記第1のデコード工程の処理を行わせるときには前記第2のデコード工程を停止させ、前記第2のデコード工程の処理を行わせるときには前記第1のデコード工程を停止させる切替え制御工程と、
前記第1のデコード工程におけるデコード処理の間、前記簡易動画サービスのストリームから、前記固有の提示時間情報とアクセスユニットとを対応付けて順次に記憶すると共に、前記切替え制御工程によって前記第1のデコード工程から前記第2のデコード工程へと切替えられると、前記第1のデコード工程がデコード処理をしている間に記憶しておいた前記アクセスユニットのうち、最新の基準のアクセスユニットから順次に前記第2のデコーダ工程においてデコードさせる同期情報蓄積処理工程と、
前記第2のデコーダ工程で前記アクセスユニットのデコードが完了する現在時刻と、デコードされた前記アクセスユニットに対応付けられて前記記憶工程において記憶されている固有の提示時間情報による提示時刻とを比較し、当該提示時刻が前記現在時刻より未来の時刻となると、同期確立と判定して、前記第2のデコーダ工程において通常のデコード処理を開始させる判定工程と、
を具備することを特徴とする画像処理方法。
A first decoder step for decoding the encoded and packetized high-quality video service stream, and a simple video in which a reference access unit and a non-reference access unit each with unique presentation time information are multiplexed A second decoder step for decoding a stream of services, comprising:
The processing of the first decoding step and the second decoding step is controlled and stopped. When the processing of the first decoding step is performed, the second decoding step is stopped, and the processing of the second decoding step is performed. A switching control step of stopping the first decoding step when performing
During the decoding process in the first decoding step, the unique presentation time information and the access unit are sequentially stored in association with each other from the stream of the simple video service, and the first decoding is performed by the switching control step. When the process is switched to the second decoding process, the access units stored while the first decoding process is performing the decoding process sequentially from the latest reference access unit. A synchronization information storage processing step for decoding in the second decoder step;
A comparison is made between the current time when decoding of the access unit is completed in the second decoder step and the presentation time based on the unique presentation time information stored in the storage step in association with the decoded access unit. A determination step of determining that synchronization is established when the presentation time is a time later than the current time and starting a normal decoding process in the second decoder step;
An image processing method comprising:
JP2006115898A 2006-04-19 2006-04-19 Image processing apparatus and image processing method Expired - Fee Related JP4866135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006115898A JP4866135B2 (en) 2006-04-19 2006-04-19 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006115898A JP4866135B2 (en) 2006-04-19 2006-04-19 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2007288683A true JP2007288683A (en) 2007-11-01
JP4866135B2 JP4866135B2 (en) 2012-02-01

Family

ID=38760009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006115898A Expired - Fee Related JP4866135B2 (en) 2006-04-19 2006-04-19 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4866135B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010062629A (en) * 2008-09-01 2010-03-18 Nec Commun Syst Ltd One-segment broadcasting receiver, and method and program for controlling the same
JP2010206258A (en) * 2009-02-27 2010-09-16 Sharp Corp Digital broadcast receiver
JP2013535921A (en) * 2010-08-06 2013-09-12 トムソン ライセンシング Apparatus and method for receiving signals
WO2018003540A1 (en) * 2016-06-30 2018-01-04 ソニーセミコンダクタソリューションズ株式会社 Reception device, transmission device, and data processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002118611A (en) * 2000-10-05 2002-04-19 Sharp Corp Demodulator for hierarchized transmission digital signal
JP2004166173A (en) * 2002-09-27 2004-06-10 Denso Corp Digital broadcast receiver for mobile object and program
JP2004312361A (en) * 2003-04-07 2004-11-04 Toyota Motor Corp Digital broadcast reception system, digital broadcast reception method, and mobile body
WO2005043784A1 (en) * 2003-10-30 2005-05-12 Matsushita Electric Industrial Co., Ltd. Device and method for receiving broadcast wave in which a plurality of services are multiplexed
WO2007105697A1 (en) * 2006-03-15 2007-09-20 Pioneer Corporation Digital image data processing device and processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002118611A (en) * 2000-10-05 2002-04-19 Sharp Corp Demodulator for hierarchized transmission digital signal
JP2004166173A (en) * 2002-09-27 2004-06-10 Denso Corp Digital broadcast receiver for mobile object and program
JP2004312361A (en) * 2003-04-07 2004-11-04 Toyota Motor Corp Digital broadcast reception system, digital broadcast reception method, and mobile body
WO2005043784A1 (en) * 2003-10-30 2005-05-12 Matsushita Electric Industrial Co., Ltd. Device and method for receiving broadcast wave in which a plurality of services are multiplexed
WO2007105697A1 (en) * 2006-03-15 2007-09-20 Pioneer Corporation Digital image data processing device and processing method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010062629A (en) * 2008-09-01 2010-03-18 Nec Commun Syst Ltd One-segment broadcasting receiver, and method and program for controlling the same
JP2010206258A (en) * 2009-02-27 2010-09-16 Sharp Corp Digital broadcast receiver
JP2013535921A (en) * 2010-08-06 2013-09-12 トムソン ライセンシング Apparatus and method for receiving signals
WO2018003540A1 (en) * 2016-06-30 2018-01-04 ソニーセミコンダクタソリューションズ株式会社 Reception device, transmission device, and data processing method
JPWO2018003540A1 (en) * 2016-06-30 2019-04-18 ソニーセミコンダクタソリューションズ株式会社 Receiving device, transmitting device, and data processing method
US11122331B2 (en) 2016-06-30 2021-09-14 Sony Semiconductor Solutions Corporation Receiving device, transmitting device, and data processing method
JP7011586B2 (en) 2016-06-30 2022-01-26 ソニーセミコンダクタソリューションズ株式会社 Receiver
JP2022044669A (en) * 2016-06-30 2022-03-17 ソニーセミコンダクタソリューションズ株式会社 Receiving device and transmitting device
JP7227407B2 (en) 2016-06-30 2023-02-21 ソニーセミコンダクタソリューションズ株式会社 Receiving device and transmitting device

Also Published As

Publication number Publication date
JP4866135B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
JP4615958B2 (en) Digital broadcast sending device, receiving device, and digital broadcasting system
KR101015390B1 (en) Robust mode staggercasting without artifacts
JP5456784B2 (en) Content transmission device, content reception device, content transmission program, content reception program, content transmission method, and content reception method
US20090116814A1 (en) Reproducer, portable telephone, and reproducing method
US8488944B2 (en) Broadcast program recording apparatus and control method for the same
JPWO2005043784A1 (en) Broadcast wave receiving apparatus and receiving method in which a plurality of services are multiplexed
US20100328527A1 (en) Fast Channel Switch Between Digital Television Channels
JP2007158492A (en) Terrestrial digital television receiver
US20090241163A1 (en) Broadcast picture display method and a digital broadcast receiver using the same
JP5271544B2 (en) Digital broadcast receiving apparatus and digital broadcast receiving method
JP4616121B2 (en) Digital broadcast receiver
JP2006141009A (en) Mobile television receiver
US8804051B2 (en) Digital broadcast receiving apparatus and channel switching method
JP4866135B2 (en) Image processing apparatus and image processing method
JP3703381B2 (en) CATV emergency broadcast receiver
JP2006254298A (en) Device and method for moving picture reproduction
JP2009005123A (en) Television broadcast receiver, and television broadcast receiving method
JP4869330B2 (en) Digital image data processing apparatus and processing method
JP2010258489A (en) Video display device, reception device, transmission and reception system, and video display method
JP2009141615A (en) Receiver and receiving method
JP4589355B2 (en) Stream playback device
JP2001309255A (en) Receiver of digital tv broadcasting
JP2007281805A (en) Digital broadcasting receiver, digital broadcasting receiving method, and program
JP2012169902A (en) On-vehicle digital terrestrial broadcasting receiver
JP2008252832A (en) Receiver, data stream output apparatus, broadcasting system, control method of receiver, control method of data stream output apparatus, control program and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111017

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

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

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

Free format text: PAYMENT UNTIL: 20141118

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