[go: up one dir, main page]

JP2010206258A - Digital broadcast receiver - Google Patents

Digital broadcast receiver Download PDF

Info

Publication number
JP2010206258A
JP2010206258A JP2009046518A JP2009046518A JP2010206258A JP 2010206258 A JP2010206258 A JP 2010206258A JP 2009046518 A JP2009046518 A JP 2009046518A JP 2009046518 A JP2009046518 A JP 2009046518A JP 2010206258 A JP2010206258 A JP 2010206258A
Authority
JP
Japan
Prior art keywords
digital broadcast
segment
stream
decoding
broadcast signal
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.)
Pending
Application number
JP2009046518A
Other languages
Japanese (ja)
Inventor
Hironori Takeda
裕紀 武田
Hiroyuki Okada
浩行 岡田
Haruki Nakajima
春樹 中嶋
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2009046518A priority Critical patent/JP2010206258A/en
Publication of JP2010206258A publication Critical patent/JP2010206258A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital broadcast receiver which has a power saving effect in a state where the receiver does not output specific digital broadcast signals and which outputs the digital broadcast signals promptly without the feeling of incompatibility when switching to the digital broadcast signals. <P>SOLUTION: In a state A, full-segment broadcasting is decoded and output. At the time, in the processing system of one-segment broadcasting, an IDR picture is detected from the stream of the one-segment broadcasting and the stream on and after the detection is preserved in a buffer. When the next IDR picture is detected, the stream is updated to the previous latest stream. When the full-segment broadcasting is switched to the one-segment broadcasting (state B), the stream preserved in the buffer is decoded from the first IDR picture and displayed at a display portion. Thus, the need of searching the IDR picture from the one-segment broadcasting when it is switched is eliminated and the decoding of the stream preserved in the buffer is immediately started. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタル放送受信機、より詳細には、デジタル放送を含む複数の画像ソースを選択して出力可能なデジタル放送受信機に関する。   The present invention relates to a digital broadcast receiver, and more particularly to a digital broadcast receiver capable of selecting and outputting a plurality of image sources including a digital broadcast.

図25は、地上デジタル放送の概要を説明する図で、地上デジタルの1チャネル分の放送信号の構成を示すものである。ワンセグ(ワンセグメント)放送サービスは、地上デジタルテレビジョン放送波の1セグメントを使用した携帯端末向けのサービスであり、そのサービスを構成するTS(Transport Stream)は、放送チャネルの周波数中心の1セグメントだけで伝送されているように割り付けられている。このため、地上デジタル放送の放送波の中心部分を1セグメントの帯域幅で部分受信することにより、ワンセグ放送信号のTSを再生することができる。   FIG. 25 is a diagram for explaining the outline of digital terrestrial broadcasting, and shows the structure of a broadcast signal for one channel of terrestrial digital. The One Seg (one segment) broadcasting service is a service for mobile terminals that uses one segment of terrestrial digital television broadcasting waves, and the TS (Transport Stream) that constitutes the service is only one segment centered on the frequency of the broadcasting channel. Assigned to be transmitted in For this reason, the TS of the one-segment broadcasting signal can be reproduced by partially receiving the central portion of the broadcast wave of terrestrial digital broadcasting with a bandwidth of one segment.

フルセグ(フルセグメント)放送は、主に固定受信装置向けの放送サービスであり、ワンセグ放送のセグメントとは異なる12セグメントを使用したHD(High-Definition)の番組が放送されている。また、4セグメントのSD(Standard Definition)を2〜3番組同時に放送する形態もある。
ワンセグ放送のサービスと、フルセグ放送のHDのサービスは、通常、サイマル放送により同じ番組が放送されている。また、フルセグ放送でSDの番組を複数放送する場合には、その複数のSDの番組の1つと同じ番組がサイマルによって1セグメントによって放送される。
Full segment (full segment) broadcast is a broadcast service mainly for fixed receivers, and HD (High-Definition) programs using 12 segments different from the one-segment broadcast segment are broadcast. There is also a form in which four segments of SD (Standard Definition) are broadcast simultaneously for two to three programs.
In the one-segment broadcasting service and the full-segment broadcasting HD service, the same program is usually broadcast by simultaneous broadcasting. When a plurality of SD programs are broadcast by full-segment broadcasting, the same program as one of the plurality of SD programs is broadcast by one segment by simul.

デジタル放送では、OFDM(Orthogonal Frequency-Division Multiplexing)による無線通信が行われ、その変調方式として一般にワンセグ放送にはQPSK(Quadrature Phase Shift Keying)が用いられ、フルセグ放送には64QAM(Quadrature Amplitude Modulation)が用いられる。また、画像符号化方式は、ワンセグ放送では限られた伝送速度の中で高効率の圧縮符号化を行うためにH.264/AVC(Advanced Video Coding)が用いられ、フルセグ放送にはMPEG(Moving Picture Experts Group)−2が用いられている。また音声符号化方式としては、ワンセグ放送、フルセグ放送ともにMPEG−2 AAC(Advanced Audio Coding)が用いられる。   In digital broadcasting, radio communication by OFDM (Orthogonal Frequency-Division Multiplexing) is performed. As a modulation method, QPSK (Quadrature Phase Shift Keying) is generally used for one-segment broadcasting, and 64 QAM (Quadrature Amplitude Modulation) is used for full-segment broadcasting. Used. As the image encoding system, H.264 / AVC (Advanced Video Coding) is used for high-efficiency compression encoding at a limited transmission rate in one-segment broadcasting, and MPEG (Moving) is used in full-segment broadcasting. Picture Experts Group) -2 is used. As an audio encoding method, MPEG-2 AAC (Advanced Audio Coding) is used for both one-segment broadcasting and full-segment broadcasting.

携帯電話などの端末装置では、ワンセグ放送を受信できるものが一般的である。また、例えばカーナビなどの端末装置では、フルセグ放送とワンセグ放送の両方が受信可能となっていて、映像や音質の品位が高いフルセグを受信中に受信状態が劣化したとき、フルセグ放送よりも伝送誤りに強いワンセグ放送に切り替えるようにしたものも提供されている。   A terminal device such as a mobile phone is generally capable of receiving one-segment broadcasting. For example, in a terminal device such as a car navigation system, both full-segment broadcasting and one-segment broadcasting can be received, and when the reception status deteriorates while receiving full-segment broadcasting with high quality video and sound quality, transmission errors are higher than with full-segment broadcasting. There are also products that are designed to switch to one-seg broadcasting, which is more robust.

このように、ワンセグ放送とフルセグ放送との両方が受信可能なデジタル放送受信機では、フルセグ放送を受信して出力しているときに受信状態が劣化すると、サイマルで放送されているワンセグ放送に切り替えるものがある。この場合、フルセグ放送はワンセグ放送に比して高画質、高音質であり、所要CN(Career to Noise)が高く、また変調方式としても64QAMを使用しているため、伝送時の誤りが生じやすい。従ってフルセグ放送の出力中に受信環境等によってフルセグ放送の受信状態が劣化した場合は、低画質、低音質であるが所要CNが低く誤りにくいワンセグ放送に切り替えて、出力させるようにしている。このような受信状態に応じてフルセグ放送からワンセグ放送に切り替えることにより、多少の品位低下があっても受信番組が途切れることなく番組の表示及び音声出力を継続させることができる。   In this way, in a digital broadcast receiver that can receive both one-segment broadcasting and full-segment broadcasting, if the reception state deteriorates when receiving and outputting full-segment broadcasting, the digital broadcasting receiver switches to one-segment broadcasting that is broadcast on simulcast. There is something. In this case, full-seg broadcasting has higher image quality and higher sound quality than one-seg broadcasting, requires a high CN (Career to Noise), and uses 64QAM as a modulation method, so that errors during transmission are likely to occur. . Therefore, when the reception state of the full segment broadcast is deteriorated due to the reception environment or the like during the output of the full segment broadcast, the output is switched to the one segment broadcast with low image quality and low sound quality but low required CN and less error. By switching from full-segment broadcasting to one-segment broadcasting in accordance with such a reception state, it is possible to continue program display and audio output without interruption of the received program even if there is some degradation in quality.

一方、ワンセグ放送とフルセグ放送に対応した端末装置は、今後、携帯電話のような小型の携帯機器も適用されるものと予想される。このような端末装置は、殆どの場合、内蔵のバッテリーによって駆動するため、低消費電力化についても大きな課題となる。   On the other hand, terminal devices that support one-segment broadcasting and full-segment broadcasting are expected to be applied to small portable devices such as cellular phones in the future. In most cases, such a terminal device is driven by a built-in battery.

デジタル放送受信機の省電力化を図るものとして、例えば特許文献1には、デジタル放送信号をクロックに従って復号するデジタル放送受信機の省電力化技術が開示されている。このデジタル放送受信機は、自装置の移動状態に対応する移動状態データを用いてクロックの供給を制御する制御手段を備えている。この制御手段は、自装置が移動中でない場合には、フルセグ放送のTSを復号して出力し、移動中の場合には、ワンセグ放送の受信に切り替えてワンセグ放送のTSを出力する。これにより、フルセグ放送の復号に要する電力を削減できるようにしている。   For example, Patent Document 1 discloses a power saving technique for a digital broadcast receiver that decodes a digital broadcast signal according to a clock. This digital broadcast receiver includes control means for controlling clock supply using movement state data corresponding to the movement state of its own apparatus. This control means decodes and outputs the full-segment broadcasting TS when the apparatus is not moving, and outputs the one-segment broadcasting TS by switching to reception of the one-segment broadcasting when moving. As a result, the power required for decoding full-segment broadcasting can be reduced.

また、特許文献2には、ワンセグ放送の視聴機能をもつ携帯通信端末において、ワンセグ放送の視聴が中断された場合に生じる問題を解決し、省電力化とワンセグ放送視聴への迅速な復帰とを両立させることを目的とした携帯通信端末が開示されている。この携帯通信端末は、ワンセグ放送の視聴を中断する場合に、ワンセグ放送を視聴するためのハードウェアリソースを時間経過とともに段階的に開放していく。ここでは、部分的、段階的な開放であるため、ワンセグ放送の視聴に復帰する場合にも、開放済みの部分だけを復帰させればよく、素早い復帰が実現される。また、時間の経過に応じて開放が進展していくと省電力効果がより高まり、相当な時間経過してもワンセグ放送に復帰しない場合には、ワンセグ放送を視聴するためのハードウェアを全て動作停止状態とする。   Patent Document 2 describes a problem that occurs when viewing of 1Seg broadcasting is interrupted in a mobile communication terminal having a viewing function of 1Seg broadcasting, reducing power consumption and quickly returning to viewing of 1Seg broadcasting. There has been disclosed a portable communication terminal intended to achieve both. When the viewing of the one-segment broadcasting is interrupted, this mobile communication terminal gradually releases hardware resources for viewing the one-segment broadcasting over time. Here, since the opening is partial and stepwise, even when returning to the viewing of the one-segment broadcasting, only the released part needs to be returned, and a quick return can be realized. In addition, the power saving effect will be further enhanced as the opening progresses with the passage of time, and if the hardware does not return to 1Seg broadcasting even after considerable time has elapsed, all the hardware for viewing the 1Seg broadcasting will operate. Set to the stop state.

特開2007−68020号公報JP 2007-68020 A 特開2007−104490号公報JP 2007-104490 A

上記のようなフルセグ放送とワンセグ放送を切り替えて出力可能なデジタル放送受信機においては、例えば、フルセグ放送からワンセグ放送に切り替えたとき、TSのストリームからキーフレームを探索し、そのキーフレームから復号を開始する必要がある。キーフレームは単独で復号可能なピクチャであり、フルセグ放送に適用されているMPEG−2ではIピクチャが該当し、ワンセグ放送に適用されているH.264/AVCではIDRピクチャが該当する。例えば地上デジタル放送の規格では、IDRピクチャの送信間隔は2秒〜5秒と定められていて、放送局によって例えば2秒程度の間隔で送信されるように運用されている。   In a digital broadcast receiver capable of switching between full-segment broadcasting and one-segment broadcasting as described above, for example, when switching from full-segment broadcasting to one-segment broadcasting, a key frame is searched from the TS stream, and decoding is performed from the key frame. Need to start. A key frame is a picture that can be decoded independently. In MPEG-2, which is applied to full-segment broadcasting, an I picture corresponds to H.264 that is applied to one-segment broadcasting. In H.264 / AVC, IDR pictures are applicable. For example, in the standard of digital terrestrial broadcasting, the transmission interval of IDR pictures is determined to be 2 to 5 seconds, and is operated so as to be transmitted at intervals of about 2 seconds by a broadcasting station, for example.

例えば、IDRピクチャの送信間隔が2秒の場合、フルセグ放送からワンセグ放送に切り替えた時点からIDRピクチャの探索を開始すると、最初のIDRピクチャが得られるまで最大で約2秒かかることになり、さらに同期を取るためにそれ以上の遅れが生じる可能性がある。   For example, when the transmission interval of IDR pictures is 2 seconds, starting the search for IDR pictures from the time when switching from full-segment broadcasting to one-segment broadcasting will take up to about 2 seconds until the first IDR picture is obtained. Further delays may occur due to synchronization.

特許文献1のデジタル放送受信機は、上述したように、自装置が移動中でない場合には、フルセグ放送のTSを復号して出力し、移動中の場合にはワンセグ放送の受信に切り替えてワンセグ放送のTSを出力するようにしている。このような構成では、フルセグ放送を出力しているときには、ワンセグ放送を復号するためのデコーダの動作も停止させているため、フルセグ放送からワンセグ放送に切り替えたときに速やかな表示ができない。   As described above, the digital broadcast receiver disclosed in Patent Document 1 decodes and outputs a full-segment broadcasting TS when the device is not moving, and switches to reception of one-segment broadcasting when the device is moving. Broadcast TS is output. In such a configuration, the operation of the decoder for decoding the one-segment broadcast is stopped when the full-segment broadcast is being output, so that a prompt display cannot be performed when the full-segment broadcast is switched to the one-segment broadcast.

また、特許文献2では、ワンセグ放送の視聴を中断する場合に、ワンセグ放送を視聴するためのハードウェアリソースを時間経過とともに段階的に開放していくため、ワンセグ放送の中断時でも特に初期段階では省電力効果が薄い。また、時間の経過に伴ってハードウェアのリソースを開放してしまうと、ワンセグ放送に復帰したときに速やかな表示を行うことができない、という問題が生じる。   In Patent Document 2, when the viewing of the one-segment broadcasting is interrupted, hardware resources for viewing the one-segment broadcasting are gradually released over time. Low power saving effect. In addition, if hardware resources are released over time, there is a problem that prompt display cannot be performed when returning to one-segment broadcasting.

また、例えばワンセグ(もしくはフルセグ)放送の受信機能と、Eメール等のアプリケーションが動作する機能とを備えた携帯端末装置等において、ワンセグ放送の視聴中に一端Eメール等のアプリケーションにより生成される画面に切り替えた後、再度ワンセグ放送の視聴に復帰させるとき、アプリケーションの画面の表示中にワンセグ放送の復号系を停止させてしまうと、省電力効果が得られるものの、ワンセグ放送への速やかな復帰ができなくなる、という課題もある。   In addition, for example, in a mobile terminal device having a reception function for one-segment (or full-segment) broadcasting and a function for operating an application such as e-mail, a screen generated by an application such as e-mail while viewing one-segment broadcasting After switching to, when returning to watching 1Seg broadcasting again, if the decoding system of 1Seg broadcasting is stopped while the application screen is displayed, a power saving effect can be obtained, but prompt return to 1Seg broadcasting is possible. There is also a problem that it will not be possible.

本発明は、上述のごとき実情に鑑みてなされたもので、デジタル放送信号を含む複数の画像ソースから画像ソースを選択して出力させることができるデジタル放送受信機において、デジタル放送信号を出力していない状態で省電力効果を得るとともに、そのデジタル放送信号への切り替えに際して違和感なく速やかに当該デジタル放送信号を出力可能とするデジタル放送受信機を提供することを目的とする。   The present invention has been made in view of the above circumstances, and outputs a digital broadcast signal in a digital broadcast receiver capable of selecting and outputting an image source from a plurality of image sources including a digital broadcast signal. It is an object of the present invention to provide a digital broadcast receiver that can obtain a power saving effect in the absence of a signal and can output the digital broadcast signal promptly without a sense of incongruity when switching to the digital broadcast signal.

上記課題を解決するために、本発明の第1の技術手段は、デジタル放送信号を受信して復号する手段と、復号したデジタル放送信号を含む少なくとも複数種類の画像ソースのいずれかを選択して出力する手段とを備えたデジタル放送受信機において、複数種類の画像ソースのいずれかを選択して出力しているときに、受信したデジタル放送信号であって、出力対象として選択されていないデジタル放送信号のストリームから、単独で復号可能なキーフレームを検出して保存する手段を有し、出力対象の選択が、デジタル放送信号に切り替えられたときに、保存したキーフレームを使用して出力を行うことを特徴としたものである。   In order to solve the above-mentioned problem, the first technical means of the present invention selects either one of means for receiving and decoding a digital broadcast signal and at least a plurality of types of image sources including the decoded digital broadcast signal. A digital broadcast receiver provided with a means for outputting a digital broadcast signal that is received and selected as one of a plurality of types of image sources and is not selected as an output target It has means for detecting and storing a key frame that can be decoded independently from the signal stream, and when the selection of the output target is switched to a digital broadcast signal, the stored key frame is used for output. It is characterized by that.

第2の技術手段は、第1の技術手段において、デジタル放送信号を受信して復号する手段は、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部は、入力したデジタル放送信号のストリームからキーフレームを検出するキーフレーム検出部と、キーフレーム検出部が検出したキーフレームを時間的に最新のキーフレームに更新しながら復号して保存するフレームメモリとを有し、出力対象の選択がデジタル放送信号に切り替えられたときに、フレームメモリに保存した復号されたキーフレームを読み出して出力し、出力中に、選択されたデジタル放送信号から次のキーフレームが検出された場合には、次のキーフレームからのストリームを復号して出力することを特徴としたものである。   According to a second technical means, in the first technical means, the means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, and a demodulating unit for demodulating the digital broadcast selected by the tuner unit. A decoding unit that decodes the demodulated digital broadcast signal, the decoding unit detecting a key frame from the input digital broadcast signal stream, and a key detected by the key frame detection unit A frame memory that decodes and stores the frame while updating the frame to the latest key frame in time, and stores the decoded key frame stored in the frame memory when the output target is switched to the digital broadcast signal Is read and output, and if the next key frame is detected from the selected digital broadcast signal during output, the next key frame is Is obtained is characterized in that decodes and outputs the stream.

第3の技術手段は、第1の技術手段において、デジタル放送信号を受信して復号する手段は、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部は、デジタル放送信号のストリームからキーフレームを検出するキーフレーム検出部と、キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態でバッファに保存し、かつ、バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、出力対象の選択がデジタル放送信号に切り替えられたときに、バッファに保存したキーフレームを含むストリームを読み出して、復号して出力することを特徴としたものである。   According to a third technical means, in the first technical means, the means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, and a demodulator for demodulating the digital broadcast selected by the tuner unit. A decoding unit that decodes the digital broadcast signal demodulated by the demodulation unit, the decoding unit detecting a key frame from the stream of the digital broadcast signal, and a key frame detected by the key frame detection unit. Including a buffer that stores the stream that has not been decoded, from the key frame detected from the stream of the digital broadcast signal until the stream immediately before the next key frame detected in time is not decoded. Save to the buffer, and update the stream to be saved in the buffer so that it is always the stream immediately before the latest key frame. And, when the selection of the output target is switched to the digital broadcast signal, it reads a stream including the key frames stored in the buffer, in which is characterized in that decodes and outputs.

第4の技術手段は、第1の技術手段において、デジタル放送信号を受信して復号する手段は、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部は、デジタル放送信号のストリームからキーフレームを検出するキーフレーム検出部と、キーフレーム検出部が検出したキーフレームを最新のキーフレームに更新しながら復号していない状態で保存するバッファとを有し、出力対象の選択がデジタル放送信号に切り替えられたときに、バッファに保存したキーフレームを読み出して復号して出力し、出力中に、選択されたデジタル放送信号から次のキーフレームが検出された場合には、次のキーフレームを復号して出力することを特徴としたものである。   According to a fourth technical means, in the first technical means, the means for receiving and decoding the digital broadcast signal includes a tuner section for selecting the digital broadcast, and a demodulation section for demodulating the digital broadcast selected by the tuner section. A decoding unit that decodes the digital broadcast signal demodulated by the demodulation unit, the decoding unit detecting a key frame from the stream of the digital broadcast signal, and a key frame detected by the key frame detection unit. A buffer that saves the latest keyframes while not being decoded, and when the output target is switched to a digital broadcast signal, the keyframes saved in the buffer are read, decoded, and output When the next key frame is detected from the selected digital broadcast signal during output, the next key frame is decoded and output. It is obtained by the features.

第5の技術手段は、第1の技術手段において、デジタル放送信号を受信して復号する手段は、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部は、デジタル放送信号のストリームからキーフレームを検出するキーフレーム検出部と、キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態でバッファに保存し、かつ、バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、出力対象の選択がデジタル放送信号に切り替えられたときに、バッファに保存したキーフレームを含むストリームを読み出して、早送りしながら復号して出力し、バッファが空になった後、選択されたデジタル放送信号のストリームを復号して出力することを特徴としたものである。   According to a fifth technical means, in the first technical means, the means for receiving and decoding the digital broadcast signal includes a tuner section for selecting the digital broadcast, and a demodulating section for demodulating the digital broadcast selected by the tuner section. A decoding unit that decodes the digital broadcast signal demodulated by the demodulation unit, the decoding unit detecting a key frame from the stream of the digital broadcast signal, and a key frame detected by the key frame detection unit. Including a buffer that stores the stream that has not been decoded, from the key frame detected from the stream of the digital broadcast signal until the stream immediately before the next key frame detected in time is not decoded. Save to the buffer, and update the stream to be saved in the buffer so that it is always the stream immediately before the latest key frame. When the output target is switched to the digital broadcast signal, the stream including the key frame stored in the buffer is read, decoded while being fast-forwarded, output, and the buffer is empty and then selected. The digital broadcast signal stream is decoded and output.

第6の技術手段は、第1の技術手段において、デジタル放送信号を受信して復号する手段が、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部が、デジタル放送信号のストリームからキーフレームを検出するキーフレーム検出部と、キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態でバッファに保存し、かつ、バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、復号部は、出力対象の選択がデジタル放送信号に切り替えられたときに、バッファに保存したキーフレームを含むストリームを読み出して、復号部が通常出力時に行う復号よりも高速の復号処理を行って廃棄し、バッファが空になった後、選択されたデジタル放送信号のストリームを復号して出力することを特徴としたものである。   According to a sixth technical means, in the first technical means, the means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, and a demodulator for demodulating the digital broadcast selected by the tuner unit. A decoding unit that decodes the digital broadcast signal demodulated by the demodulation unit, and the decoding unit detects a key frame from a stream of the digital broadcast signal, and a key frame detected by the key frame detection unit. Including a buffer that stores the stream that has not been decoded, from the key frame detected from the stream of the digital broadcast signal until the stream immediately before the next key frame detected in time is not decoded. Save to the buffer, and update the stream to be saved in the buffer so that it is always the stream immediately before the latest key frame. Then, when the output target is switched to the digital broadcast signal, the decoding unit reads the stream including the key frame stored in the buffer and performs a decoding process faster than the decoding performed by the decoding unit during normal output. And the stream of the selected digital broadcast signal is decoded and output after the buffer becomes empty.

第7の技術手段は、デジタル放送信号を受信して復号する手段と、復号したデジタル放送信号を含む少なくとも複数種類の画像ソースのいずれかを選択して出力する手段とを備えたデジタル放送受信機において、デジタル放送信号を受信して復号する手段が、デジタル放送を選局するチューナ部と、チューナ部で選局したデジタル放送を復調する復調部と、復調部が復調したデジタル放送信号を復号する復号部とを有し、復号部は、出力対象の選択が、複数種類の画像ソースのいずれかからデジタル放送信号に切り替えられたときに、選択されたデジタル放送信号のストリームから、単独で復号可能なキーフレームを検出し、検出したキーフレームからデジタル放送信号のストリームを復号して出力し、デジタル放送信号のストリームが復号されるまで、複数種類の画像ソースのいずれかの出力を維持し、デジタル放送信号が復号されたストリームが復号されたときに、複数種類の画像ソースのいずれかからデジタル放送信号に出力を切り替えることを特徴としたものである。   A seventh technical means is a digital broadcast receiver comprising means for receiving and decoding a digital broadcast signal, and means for selecting and outputting at least one of a plurality of types of image sources including the decoded digital broadcast signal The means for receiving and decoding the digital broadcast signal includes a tuner for selecting the digital broadcast, a demodulator for demodulating the digital broadcast selected by the tuner, and a digital broadcast signal demodulated by the demodulator. The decoding unit can be decoded independently from the stream of the selected digital broadcast signal when the selection of the output target is switched from one of a plurality of types of image sources to the digital broadcast signal. Key stream is detected, the digital broadcast signal stream is decoded from the detected key frame and output, and the digital broadcast signal stream is decoded. Until one of the multiple types of image source is maintained, and when the stream in which the digital broadcast signal is decoded is decoded, the output from one of the multiple types of image source is switched to the digital broadcast signal. It is a feature.

第8の技術手段は、第1〜7のいずれか1の技術手段において、デジタル放送信号を受信して復号する手段として、周波数帯域内のワンセグメントに割り当てられたワンセグメント放送信号を受信して復号する手段と、複数のセグメントを使用した複数セグメント放送信号を受信して復号する手段とを有し、複数セグメント放送信号からワンセグメント放送信号への切り替えを、出力対象の選択の切り替えとすることを特徴としたものである。   The eighth technical means receives the one-segment broadcast signal assigned to the one segment in the frequency band as means for receiving and decoding the digital broadcast signal in any one of the first to seventh technical means. It has means for decoding and means for receiving and decoding a multi-segment broadcast signal using a plurality of segments, and switching from a multi-segment broadcast signal to a one-segment broadcast signal is a switching of selection of an output target It is characterized by.

第9の技術手段は、第1〜7のいずれか1の技術手段において、デジタル放送信号を受信して復号する手段として、周波数帯域内のワンセグメントに割り当てられたワンセグメント放送信号を受信して復号する手段を複数有し、または複数のセグメントを使用した複数セグメント放送信号を受信して復号する手段を複数有し、ワンセグメント放送信号同士の切り替え、または複数セグメント放送信号同士の切り替えを、出力対象の選択の切り替えとすることを特徴としたものである。   A ninth technical means receives a one-segment broadcast signal assigned to one segment in a frequency band as means for receiving and decoding a digital broadcast signal in any one of the first to seventh technical means. Has multiple decoding means, or has multiple means to receive and decode multiple segment broadcast signals using multiple segments, and outputs switching between one segment broadcast signals or switching between multiple segment broadcast signals This is characterized in that the selection of the object is switched.

第10の技術手段は、第1〜7のいずれか1の技術手段において、複数種類の画像ソースとして、デジタル放送受信機にて動作する特定のアプリケーションにより生成される画像ソースを出力可能で、アプリケーションにより生成される画像ソースの出力からデジタル放送信号への切り替えを、出力対象の選択の切り替えとすることを特徴としたものである。   In a tenth technical means, in any one of the first to seventh technical means, an image source generated by a specific application operating in a digital broadcast receiver can be output as a plurality of types of image sources. The switching from the output of the image source generated to the digital broadcast signal is the switching of the selection of the output target.

第11の技術手段は、第3〜6のいずれか1の技術手段において、出力対象の選択がデジタル放送信号に切り替えられたときに、バッファに保存したキーフレームを含むストリームが復号されて出力されるまでの間、複数種類の画像ソースのいずれかの出力を継続して、出力が途切れないようにすることを特徴としたものである。   According to an eleventh technical means, in any one of the third to sixth technical means, when the output target is switched to the digital broadcast signal, the stream including the key frame stored in the buffer is decoded and output. In the meantime, the output of any of a plurality of types of image sources is continued so that the output is not interrupted.

第12の技術手段は、第8の技術手段において、複数セグメント放送信号の出力を所定時間遅延させる手段を有し、同一番組を放送しているときに出力までの時間差が生じる複数セグメント放送信号とワンセグメント放送信号との出力の時間差をなくすことを特徴としたものである。   The twelfth technical means includes means for delaying the output of the multi-segment broadcast signal by a predetermined time in the eighth technical means, and a multi-segment broadcast signal that causes a time difference until the output when the same program is being broadcast. It is characterized by eliminating the time difference in output from the one-segment broadcast signal.

本発明によれば、デジタル放送信号を含む複数のコンテンツから特定のコンテンツを選択して出力させることができるデジタル放送受信機において、デジタル放送信号を出力していない状態で省電力効果を得るとともに、そのデジタル放送信号への切り替えに際して違和感なく速やかに当該デジタル放送信号を出力可能とすることができる。   According to the present invention, in a digital broadcast receiver capable of selecting and outputting a specific content from a plurality of contents including a digital broadcast signal, while obtaining a power saving effect without outputting the digital broadcast signal, When switching to the digital broadcast signal, the digital broadcast signal can be output promptly without a sense of incongruity.

本発明によるデジタル放送受信機が適用可能な電子機機器の一例を示す図で、携帯電話の外観構成を示す図である。It is a figure which shows an example of the electronic device which can apply the digital broadcast receiver by this invention, and is a figure which shows the external appearance structure of a mobile telephone. 本発明によるデジタル放送受信機の構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital broadcast receiver by this invention. 図2に示すデジタル放送受信機のフルセグデコーダ、ワンセグデコーダ及び映像切替部の詳細構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a detailed configuration example of a full segment decoder, a one segment decoder, and a video switching unit of the digital broadcast receiver illustrated in FIG. 2. 本発明によるデジタル放送受信機の第1の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 1st Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第1の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 1st Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第1の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 1st Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第2の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 2nd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第2の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 2nd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第2の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 2nd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第3の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 3rd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第3の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 3rd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第3の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 3rd Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第4の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 4th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第4の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 4th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第4の実施例における処理の流れを説明するためのフローチャートで、図14に続く図である。It is a flowchart for demonstrating the flow of a process in the 4th Example of the digital broadcast receiver by this invention, and is a figure following FIG. 本発明によるデジタル放送受信機の第4の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 4th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第5の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 5th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第5の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 5th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第5の実施例における処理の流れを説明するためのフローチャートで、図18に続く図である。It is a flowchart for demonstrating the flow of a process in the 5th Example of the digital broadcast receiver by this invention, and is a figure following FIG. 本発明によるデジタル放送受信機の第5の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 5th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第6の実施例の動作を説明するための図である。It is a figure for demonstrating operation | movement of the 6th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第6の実施例における処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process in the 6th Example of the digital broadcast receiver by this invention. 本発明によるデジタル放送受信機の第6の実施例におけるデコーダ部の制御タイミングの例を示す図である。It is a figure which shows the example of the control timing of the decoder part in the 6th Example of the digital broadcast receiver by this invention. 本発明に係るデジタル放送受信機において、H.264/AVCに基づくIDRピクチャの先頭を検出するときの処理の一例を説明するためのフローチャートである。In the digital broadcast receiver according to the present invention, the H.264 3 is a flowchart for explaining an example of processing when detecting the head of an IDR picture based on H.264 / AVC. 地上デジタル放送の概要を説明する図である。It is a figure explaining the outline | summary of terrestrial digital broadcasting.

図1は、本発明によるデジタル放送受信機が適用可能な電子機機器の一例を示す図で、携帯電話の外観構成を示す図である。携帯電話100は、表示部101とキー入力部102とを有している。本発明に係るデジタル放送受信機は、携帯電話100に適用することができる。例えば、携帯電話100をワンセグ放送とフルセグ放送との両方を受信可能に構成することができ、ユーザの選択によっていずれかの放送サービスを視聴できるようにすることができる。また、フルセグ放送の視聴中に、フルセグ放送の受信品質が劣化したときに、ワンセグ放送に切り替えて出力し、フルセグ放送の受信品質の改善に応じてフルセグ放送の出力に復帰させるようにすることができる。これらデジタル放送信号は、本発明に係る実施例のデジタル放送受信機で出力可能な画像ソースに該当する。   FIG. 1 is a diagram showing an example of an electronic device to which a digital broadcast receiver according to the present invention can be applied, and is a diagram showing an external configuration of a mobile phone. The mobile phone 100 has a display unit 101 and a key input unit 102. The digital broadcast receiver according to the present invention can be applied to the mobile phone 100. For example, the mobile phone 100 can be configured to receive both one-segment broadcasting and full-segment broadcasting, and any broadcasting service can be viewed according to the user's selection. Also, when the reception quality of full-segment broadcasting deteriorates during viewing of full-segment broadcasting, it is possible to switch to one-segment broadcasting and output, and to return to full-segment broadcasting output according to the improvement in reception quality of full-segment broadcasting it can. These digital broadcast signals correspond to image sources that can be output by the digital broadcast receiver according to the embodiment of the present invention.

また、携帯電話100は、例えばEメールやインターネットブラウザなどのアプリケーションがインストールされて動作可能であり、表示部101には、ユーザ操作に応じてこれらアプリケーションにより生成される画像が表示される。この画像は、例えばEメールによるテキストやイメージ情報であったり、ブラウザに表示されるサイト情報であったりする。つまり、アプリケーションにより生成される画像もまた、本発明に係る実施例のデジタル放送受信機で出力可能な画像ソースに該当する。
携帯電話100では、これら画像ソースのなかから1つの画像ソースを選択して出力させる機能を有している。
In addition, the mobile phone 100 can operate by installing applications such as e-mail and Internet browser, and an image generated by these applications is displayed on the display unit 101 in response to a user operation. This image may be text or image information by e-mail or site information displayed on a browser, for example. That is, an image generated by an application also corresponds to an image source that can be output by the digital broadcast receiver according to the embodiment of the present invention.
The cellular phone 100 has a function of selecting and outputting one image source from these image sources.

なお、本発明によるデジタル放送受信機は、上記の携帯電話100のような携帯端末に限定されることなく、デジタル放送受信機能を備えた各種の機器や端末装置に適用することができる。   The digital broadcast receiver according to the present invention is not limited to a portable terminal such as the mobile phone 100 described above, and can be applied to various devices and terminal devices having a digital broadcast receiving function.

図2は、本発明によるデジタル放送受信機の構成例を示すブロック図である。デジタル放送受信機1は、アンテナ10で受信したフルセグ放送を選局するチューナ部であるフルセグチューナ11と、ワンセグ放送を選局するワンセグチューナ12とを備える。   FIG. 2 is a block diagram showing a configuration example of a digital broadcast receiver according to the present invention. The digital broadcast receiver 1 includes a full segment tuner 11 that is a tuner unit that selects a full segment broadcast received by an antenna 10 and a one segment tuner 12 that selects a one segment broadcast.

フルセグチューナ11から出力されたフルセグメント(12セグメント)のTSは、フルセグメント用のフルセグOFDM復調部13に入力し、復調される。そして、復調されたTSは、フルセグTSデコーダ15に入力し、音声(Audio)信号と映像(Video)信号が分離されてES(Elementary Stream)として出力される。フルセグTSデコーダ15から出力された音声信号は、図示しない音声用のデコーダで復号され、図示しないスピーカなどの音声出力部にて音声出力される。   The full segment (12 segment) TS output from the full segment tuner 11 is input to the full segment full-segment OFDM demodulator 13 and demodulated. The demodulated TS is input to the full-segment TS decoder 15, and an audio (Audio) signal and a video (Video) signal are separated and output as an ES (Elementary Stream). The audio signal output from the full segment TS decoder 15 is decoded by an audio decoder (not shown), and is output as audio by an audio output unit such as a speaker (not shown).

また、フルセグTSデコーダ15から出力された映像信号は、フルセグデコーダ17に入力し、復号処理が行われる。フルセグデコーダ17のより詳細な構成及び動作の例は後述する。フルセグデコーダ17から出力された映像信号は、映像切替部19を介して表示部20に出力され、表示が行われる。   Further, the video signal output from the full segment TS decoder 15 is input to the full segment decoder 17 and subjected to decoding processing. An example of a more detailed configuration and operation of the full segment decoder 17 will be described later. The video signal output from the full segment decoder 17 is output to the display unit 20 via the video switching unit 19 and displayed.

一方、ワンセグチューナ12で選局されたワンセグ放送のTSは、ワンセグメント用のワンセグOFDM復調部14に入力し、復調される。そして、復調されたTSは、ワンセグTSデコーダ16に入力し、音声(Audio)信号と映像(Video)信号が分離されてESとして出力される。ワンセグTSデコーダ16から出力された音声信号は、図示しない音声用デコーダで復号され、図示しないスピーカなどの音声出力部にて音声出力される。   On the other hand, the one-segment broadcasting TS selected by the one-segment tuner 12 is input to the one-segment one-segment OFDM demodulator 14 and demodulated. Then, the demodulated TS is input to the one-segment TS decoder 16, and an audio (Audio) signal and a video (Video) signal are separated and output as ES. The audio signal output from the one-segment TS decoder 16 is decoded by an audio decoder (not shown) and output as audio by an audio output unit such as a speaker (not shown).

また、ワンセグTSデコーダ16から出力された映像信号は、ワンセグデコーダ18に入力し、復号処理が行われる。ワンセグデコーダ18のより詳細な構成及び動作の例は後述する。ワンセグデコーダ18から出力された映像信号は、映像切替部19を介して表示部20に出力され、表示が行われる。   In addition, the video signal output from the one-segment TS decoder 16 is input to the one-segment decoder 18 to be decoded. An example of a more detailed configuration and operation of the one-segment decoder 18 will be described later. The video signal output from the one-segment decoder 18 is output to the display unit 20 via the video switching unit 19 and displayed.

制御部21は、デジタル放送受信機1の各部を制御する。また、操作入力部22は、ユーザによる操作入力を受け付けるもので、例えば図1の携帯電話ではキー入力部102に相当するものである。また、この他、タッチパネルやリモコンなどの操作入力手段を適用することもできる。   The control unit 21 controls each unit of the digital broadcast receiver 1. The operation input unit 22 receives an operation input by the user, and corresponds to the key input unit 102 in the mobile phone of FIG. In addition, operation input means such as a touch panel and a remote control can also be applied.

フルセグOFDM復調部13は、フルセグチューナ11で選局されたフルセグ放送の受信品質を監視し、フルセグ放送の受信品質が劣化したと判断すると、映像切替部19を制御してフルセグ放送の出力表示からワンセグ放送の出力表示に切り替える。また、このときに図示しない音声信号についても、フルセグ放送の音声信号からワンセグ放送の音声信号に切り替えられる。受信状態の劣化の判断は、所定の条件に従って行われる。例えば、フルセグOFDM復調部13では、フルセグチューナ11で検出されるCNや誤り率(BER;Bit Error Rate)の所定の特性値を所定の閾値と比較することにより、受信状態の劣化の有無を判定する。また、この他、フルセグ放送とワンセグ放送との切り替えは、操作入力部22に対する所定の操作入力に応じて実行することもできる。
本発明は、チップ化して実現可能である。その際には、フルセグTSデコーダ15、ワンセグTSデコーダ16、フルセグデコーダ17、ワンセグデコーダ18の範囲が1チップに内蔵されてもよい。あるいは、フルセグチューナ11、ワンセグチューナ12、フルセグOFDM復調部13、ワンセグOFDM復調部14、フルセグTSデコーダ15、ワンセグTSデコーダ16、フルセグデコーダ17、ワンセグデコーダ18の範囲が1チップに内蔵されてもよい。
The full-segment OFDM demodulator 13 monitors the reception quality of the full-segment broadcast selected by the full-segment tuner 11, and determines that the reception quality of the full-segment broadcast has deteriorated. Switch to the output display of 1Seg broadcasting. At this time, an audio signal (not shown) is also switched from a full-segment broadcast audio signal to a one-segment broadcast audio signal. The determination of deterioration of the reception state is performed according to a predetermined condition. For example, the full-segment OFDM demodulator 13 determines whether or not the reception state has deteriorated by comparing a predetermined characteristic value of a CN or an error rate (BER; Bit Error Rate) detected by the full-segment tuner 11 with a predetermined threshold value. To do. In addition, switching between full-segment broadcasting and one-segment broadcasting can also be executed in accordance with a predetermined operation input to the operation input unit 22.
The present invention can be realized as a chip. In that case, the range of the full segment TS decoder 15, the one segment TS decoder 16, the full segment decoder 17, and the one segment decoder 18 may be built in one chip. Alternatively, the range of the full segment tuner 11, the one segment tuner 12, the full segment OFDM demodulator 13, the one segment OFDM demodulator 14, the full segment TS decoder 15, the one segment TS decoder 16, the full segment decoder 17, and the one segment decoder 18 may be built in one chip. .

図3は、図2に示すデジタル放送受信機のフルセグデコーダ、ワンセグデコーダ及び映像切替部の詳細構成例を示すブロック図である。
フルセグデコーダ17には、フルセグ放送のMPEG−2のストリーム(符号化データ)が入力する。フルセグデコーダ17に入力したフルセグ放送の符号化データは、可変長復号部(VLD)171で復号される。
FIG. 3 is a block diagram illustrating a detailed configuration example of the full segment decoder, the one segment decoder, and the video switching unit of the digital broadcast receiver illustrated in FIG.
An MPEG-2 stream (encoded data) of full segment broadcasting is input to the full segment decoder 17. The encoded data of full segment broadcasting input to the full segment decoder 17 is decoded by a variable length decoding unit (VLD) 171.

フルセグデコーダ17で、復号により得られた量子化係数は逆量子化部(IQ)172で逆量子化され、逆量子化された変換係数が逆DCT部(IDCT)173で逆DCT変換される。そして逆DCT変換により再構成された残差画像は、加算部174で動き補償部(MC)175から出力された予測ブロックに加算され、映像切替部19に出力される。また、加算部175から出力された再構成された残差画像は、フレームメモリ176に保存され、動き補償部(MC)175にて予測ブロックが生成され、加算部174に出力される。動き補償部175では、可変長復号部171で復号した差分ベクトルから動きベクトルを計算し、予測ブロックの生成に使用する。   In the full segment decoder 17, the quantization coefficient obtained by decoding is inversely quantized by an inverse quantization unit (IQ) 172, and the inversely quantized transform coefficient is inversely DCT transformed by an inverse DCT unit (IDCT) 173. The residual image reconstructed by the inverse DCT transform is added to the prediction block output from the motion compensation unit (MC) 175 by the adding unit 174 and output to the video switching unit 19. The reconstructed residual image output from the adder 175 is stored in the frame memory 176, a prediction block is generated by the motion compensator (MC) 175, and is output to the adder 174. The motion compensation unit 175 calculates a motion vector from the difference vector decoded by the variable length decoding unit 171 and uses it to generate a prediction block.

一方、ワンセグデコーダ18には、ワンセグ放送のH.264/AVCのストリーム(符号化データ)が入力する。ワンセグデコーダ18に入力したワンセグメント放送の符号化データからは、パターン検出部181でIDRピクチャが検出され、可変長復号部(VLD)182で復号される。パターン検出部181は、本発明にてキーフレームを検出するキーフレーム検出部に相当するものである。   On the other hand, the one-seg decoder 18 includes one-segment broadcasting H.264. An H.264 / AVC stream (encoded data) is input. The IDR picture is detected by the pattern detection unit 181 from the encoded data of the one segment broadcast input to the one-segment decoder 18 and is decoded by the variable length decoding unit (VLD) 182. The pattern detection unit 181 corresponds to a key frame detection unit that detects a key frame in the present invention.

可変長復号部182により得られた量子化係数は逆量子化部(IQ)183で逆量子化され、逆量子化された変換係数が逆DCT部(IDCT)184で逆DCT変換される。そして逆DCTにより再構成された残差画像は、加算部185で動き補償部188から出力された予測ブロックに加算され、デブロッキングフィルタ186によりブロッキングアーティファクトが軽減されて映像切替部19に出力される。またデブロッキングフィルタ186から出力された再構成された残差画像は、フレームメモリ187に保存され、動き補償部(MC)188にて予測ブロックが生成され、加算部185に出力される。動き補償部188では、可変長復号部182で復号した差分ベクトルから動きベクトルを計算し、予測ブロックの生成に使用する。   The quantization coefficient obtained by the variable length decoding unit 182 is inversely quantized by the inverse quantization unit (IQ) 183, and the inversely quantized transform coefficient is inversely DCT transformed by the inverse DCT unit (IDCT) 184. The residual image reconstructed by inverse DCT is added to the prediction block output from the motion compensation unit 188 by the addition unit 185, and blocking artifacts are reduced by the deblocking filter 186 and output to the video switching unit 19. . The reconstructed residual image output from the deblocking filter 186 is stored in the frame memory 187, a prediction block is generated by the motion compensation unit (MC) 188, and is output to the addition unit 185. The motion compensation unit 188 calculates a motion vector from the difference vector decoded by the variable length decoding unit 182 and uses it to generate a prediction block.

バッファ189は、パターン検出部181で検出したIDRピクチャを符号化データのまま保存するものである。後述する本発明に係る実施例においては、フルセグ放送の出力時に、パターン検出部181で検出したIDRピクチャをバッファ189に保存し、もしくは検出したIDRピクチャから次のIDRピクチャまでのストリームを保存し、フルセグ放送の受信品質の劣化等に応じて、フルセグ放送の出力からワンセグ放送の出力に切り替えられたときに、バッファ189から読み出した符号化データを復号して出力させる。また、他の実施例では、バッファ189を用いることなく、フルセグ放送の出力時にワンセグ放送のIDRピクチャを復号したものをフレームメモリ187に保存しておき、フルセグ放送からワンセグ放送への切り替え時にその復号済みデータを用いて映像出力を行わせるようにしている。これにより、フルセグ放送からワンセグ放送への切替時に違和感なく速やかに映像出力を可能とするデジタル放送受信機を提供することができる。各実施例の動作の詳細を以下に説明する。   The buffer 189 stores the IDR picture detected by the pattern detection unit 181 as encoded data. In an embodiment according to the present invention, which will be described later, when outputting full-segment broadcasting, the IDR picture detected by the pattern detection unit 181 is stored in the buffer 189, or the stream from the detected IDR picture to the next IDR picture is stored, When the full-segment broadcast output is switched from the full-segment broadcast output to the one-segment broadcast output in accordance with the degradation of the reception quality of the full-segment broadcast, the encoded data read from the buffer 189 is decoded and output. In another embodiment, without decoding the buffer 189, the one-segment broadcast IDR picture is stored in the frame memory 187 when the full-segment broadcast is output, and is decoded when the full-segment broadcast is switched to the one-segment broadcast. Video output is performed using the completed data. Accordingly, it is possible to provide a digital broadcast receiver that can quickly output video without a sense of incompatibility when switching from full-segment broadcasting to one-segment broadcasting. Details of the operation of each embodiment will be described below.

(第1の実施例)
図4は、本発明によるデジタル放送受信機の第1の実施例の動作を説明するための図である。ここでは、デジタル放送受信機でフルセグ放送を表示中に、ワンセグ放送に切り替えるときの処理、及び切り替えられたワンセグ放送からフルセグ放送に復帰するときの処理例について説明する。
(First embodiment)
FIG. 4 is a diagram for explaining the operation of the first embodiment of the digital broadcast receiver according to the present invention. Here, an example of processing when switching to one-segment broadcasting while full-segment broadcasting is being displayed by the digital broadcasting receiver and processing when returning from the switched one-segment broadcasting to full-segment broadcasting will be described.

上述したように、ワンセグ放送とフルセグ放送との両方が受信可能なデジタル放送受信機では、フルセグ放送を受信して出力しているときに受信状態が劣化すると、サイマルで放送されているワンセグ放送に切り替えるものがある。この場合、フルセグ放送はワンセグ放送に比して高画質、高音質であり、所要CN(Career to Noise)が高く、また変調方式としても64QAMを使用しているため、伝送時の誤りが生じやすい。従ってフルセグ放送の出力中に受信環境等によってフルセグ放送の受信状態が劣化した場合は、低画質、低音質であるが所要CNが低く誤りにくいワンセグ放送に切り替えて、出力させるようにしている。このような受信状態に応じてフルセグ放送からワンセグ放送に切り替えることにより、多少の品位低下があっても受信した放送サービスが途切れることなくその出力を継続させることができる。   As described above, in a digital broadcast receiver capable of receiving both one-segment broadcasting and full-segment broadcasting, if the reception state deteriorates when receiving and outputting full-segment broadcasting, the one-segment broadcasting broadcasted by simul There is something to switch. In this case, full-seg broadcasting has higher image quality and higher sound quality than one-seg broadcasting, requires a high CN (Career to Noise), and uses 64QAM as a modulation method, so that errors during transmission are likely to occur. . Therefore, when the reception state of the full segment broadcast is deteriorated due to the reception environment or the like during the output of the full segment broadcast, the output is switched to the one segment broadcast with low image quality and low sound quality but low required CN and less error. By switching from full-segment broadcasting to one-segment broadcasting according to such a reception state, it is possible to continue the output of the received broadcasting service without interruption even if there is some degradation in quality.

またフルセグ放送とワンセグ放送とを相互に手動で切り替えることも可能となっている。この場合には、デジタル放送受信機1の操作入力部22に対してユーザが所定の操作を行うことにより、フルセグ放送からワンセグ放送への切り替え、及びワンセグ放送からフルセグ放送への切り替えを適宜行うことができる。
以下の実施例では、フルセグ放送の受信状態に応じてフルセグ放送とワンセグ放送とを切り替える動作用いてを説明するが、ユーザ操作による切り替え動作に対しても同様の処理を適用可能である。また、下記に説明する本発明の他の実施例についても同様である。
It is also possible to manually switch between full-segment broadcasting and one-segment broadcasting. In this case, when the user performs a predetermined operation on the operation input unit 22 of the digital broadcast receiver 1, switching from full segment broadcasting to one segment broadcasting and switching from one segment broadcasting to full segment broadcasting are appropriately performed. Can do.
In the following embodiment, an explanation will be given using the operation of switching between full-segment broadcasting and one-segment broadcasting according to the reception state of full-segment broadcasting, but the same processing can be applied to switching operations by user operations. The same applies to other embodiments of the present invention described below.

フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第1の実施例では、フルセグ放送を復号して出力しているときに、ワンセグ放送の符号化データからキーフレームであるIDRピクチャを検出し、検出したIDRピクチャ以後、次のIDRピクチャまでのストリームをバッファ189に保存しておくことにより、低消費電力化を図るとともに、フルセグ放送からワンセグ放送への切り替え表示を違和感なく迅速に行うことができるようにしている。   In the digital broadcast receiver for switching between full-segment broadcasting and one-segment broadcasting, in the first embodiment according to the present invention, when full-segment broadcasting is decoded and output, a key frame is generated from encoded data of one-segment broadcasting. By detecting a certain IDR picture and storing the stream from the detected IDR picture to the next IDR picture in the buffer 189, the power consumption can be reduced, and the switching display from full segment broadcasting to one segment broadcasting is uncomfortable. So that you can do it quickly.

例えば、図4の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系では、ワンセグデコーダ18に入力したストリームからパターン検出部181にてキーフレームであるIDRピクチャを検出する。ここではパターン検出部181は、IDRピクチャをパターンマッチングで検出する処理を行う。   For example, it is assumed that full segment broadcasting is decoded and output in the state A of FIG. In this state A, in the one-seg broadcasting processing system, the pattern detection unit 181 detects an IDR picture that is a key frame from the stream input to the one-seg decoder 18. Here, the pattern detection unit 181 performs processing for detecting an IDR picture by pattern matching.

ワンセグデコーダ18では、パターン検出部181で検出したIDRピクチャ以後のストリームをバッファ189に保存する。そしてパターン検出部181が次のIDRピクチャを検出した場合には、これまで保存しておいた前回のIDRピクチャから今回のIDRピクチャの直前のピクチャまでのストリームをバッファ189から削除して廃棄し、今回のIDRピクチャ以後のストリームをバッファ189に保存する。こうしてフルセグ放送を復号して出力している間は、このようなワンセグ放送のIDRピクチャ間(IDRピクチャから次のIDRピクチャの直前)のストリームの保存処理を繰り返して実行する。   In the one-segment decoder 18, the stream after the IDR picture detected by the pattern detection unit 181 is stored in the buffer 189. When the pattern detection unit 181 detects the next IDR picture, the stream from the previous IDR picture saved up to now to the picture immediately before the current IDR picture is deleted from the buffer 189 and discarded. The stream after the current IDR picture is stored in the buffer 189. While the full-segment broadcasting is decoded and output in this way, the process of saving the stream between the IDR pictures of this one-segment broadcasting (from the IDR picture to immediately before the next IDR picture) is repeatedly executed.

次に、デジタル放送受信機1は、状態Aでフルセグ放送の受信品質の劣化によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。そしてフルセグ放送からワンセグ放送に切り替えられたときに、ワンセグデコーダ18では、バッファ189に保存していたストリームを最初のIDRピクチャから復号し、表示部20に対して出力させる。IDRピクチャは単独で復号が可能であり、IDRピクチャを復号することにより以後の連続したストリームの復号が可能となる。   Next, when the digital broadcast receiver 1 is switched to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting in the state A, the digital broadcasting receiver 1 shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. When the full-segment broadcasting is switched to the one-segment broadcasting, the one-seg decoder 18 decodes the stream stored in the buffer 189 from the first IDR picture and causes the display unit 20 to output the stream. The IDR picture can be decoded independently, and decoding of the subsequent continuous stream is possible by decoding the IDR picture.

つまり状態Bでは、その切り替わり後にバッファ189に保存しているIDRピクチャ以後のストリームを復号して表示させる。ここでは切り替え時にワンセグ放送からIDRピクチャを探索する必要がなく、バッファ189に保存しているストリームの復号をただちに開始することができる。なお、フルセグ放送からワンセグ放送への切り替え時に、バッファ189に保存したストリームを復号するごく僅かな時間の間に映像が途切れることがないように、復号されたワンセグ放送が表示されるまでは、フルセグ放送の画面を表示させておくようにするとよい。   That is, in the state B, after the switching, the stream after the IDR picture stored in the buffer 189 is decoded and displayed. Here, it is not necessary to search for an IDR picture from the one-segment broadcasting at the time of switching, and the decoding of the stream stored in the buffer 189 can be started immediately. Note that when switching from full-segment broadcasting to one-segment broadcasting, the full-segment broadcasting is displayed until the decoded one-segment broadcasting is displayed so that the video is not interrupted in a very short time for decoding the stream stored in the buffer 189. It is advisable to display the broadcast screen.

ワンセグ用のバッファ189に保存していたストリームが表示された後は、受信したワンセグ放送を連続して表示させるが、この場合、受信したワンセグ放送のストリームを順次バッファ189に保存しながら、ストリームが時間的に連続するようにバッファ189からFIFO(First In First Out)によりストリームを読み出して復号する。あるいは、バッファ189のストリームを復号して出力し終わったら、受信中のワンセグ放送に切り替えるものであってもよい。この場合、見た目には違和感があまりなく、また映像が途切れて視覚的に低品位となるような問題は生じない。   After the stream stored in the one-segment buffer 189 is displayed, the received one-segment broadcast is continuously displayed. In this case, the stream is received while sequentially storing the received one-segment broadcast stream in the buffer 189. The stream is read from the buffer 189 by FIFO (First In First Out) so as to be continuous in time and decoded. Alternatively, after decoding and outputting the stream in the buffer 189, switching to the one-segment broadcasting being received may be performed. In this case, there is not a sense of incongruity in appearance, and there is no problem that the video is interrupted and the visual quality is low.

ワンセグ放送を出力している状態(状態B)から、再度フルセグ放送の受信状態が改善してフルセグ放送に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替える。フルセグ放送は、MPEG−2のストリームのキーフレームであるIピクチャから復号を行って表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送のストリームからIDRピクチャを検出し、次のIDRピクチャまでのストリームをバッファ189に保存する処理を繰り返していく。   When the one-segment broadcasting is being output (state B) and the reception state of the full-segment broadcasting is improved again to switch to the full-segment broadcasting, the state transitions to the state C. In the state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full-segment broadcasting can be displayed by decoding from an I picture that is a key frame of an MPEG-2 stream. In the state C where the full segment broadcast is being output, the process of detecting the IDR picture from the one-segment broadcast stream and storing the stream up to the next IDR picture in the buffer 189 is repeated as in the state A.

本実施例の処理によれば、フルセグ放送を出力時に動作しているワンセグ放送の処理系は、パターン検出部181とバッファ189のみであり、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。また、本実施例によれば、通常のワンセグデコーダ18に対してバッファ189を追加する必要が生じるが、例えば、必要なメモリ容量は、ワンセグ放送のビットレートである416kbpsとIDRピクチャの最大間隔の一例である5秒とを鑑みて、例えば300kByte程度の小規模なもので済む。   According to the processing of this embodiment, the processing system of the one-segment broadcasting that is operating when outputting the full-segment broadcasting is only the pattern detection unit 181 and the buffer 189, which consumes less power than the normal decoding processing of the one-segment broadcasting. Can be reduced. Further, according to the present embodiment, it is necessary to add a buffer 189 to the normal one-segment decoder 18, but for example, the required memory capacity is 416 kbps which is the bit rate of one-segment broadcasting and the maximum interval between IDR pictures. Considering 5 seconds as an example, a small scale of about 300 kBytes is sufficient.

なお音声出力についても、フルセグ放送からワンセグ放送の切り替え時に映像とともに映像に同期して切り替えられる。本実施例では、フルセグ放送からワンセグ放送への切り替え時に、音声の連続性が若干途切れることになるが、切り替え前にフルセグ放送の音声出力をフェードアウトし、切り替え後のワンセグ放送の音声をフェードインすることで、切り替え時の違和感をさらに緩和するようにしてもよい。また、この他、フルセグ放送からワンセグ放送への切り替え時に、例えば、数msec程度消音してもよい。この場合、切り替え前の音声出力を消音するか、あるいは切り替え後の音声出力を消音するか、もしくは両方の音声出力を消音する、などの手法が考えられる。以下の他の実施例についても、音声出力の切り替え処理については、同様の動作を行わせることができ、繰り返しの説明は省略する。   Audio output is also switched in synchronization with the video when switching from full segment broadcasting to one segment broadcasting. In this embodiment, when switching from full-segment broadcasting to one-segment broadcasting, the continuity of the sound is slightly interrupted, but before switching, the audio output of full-segment broadcasting is faded out, and the sound of the one-segment broadcasting after switching is faded in. Thus, the uncomfortable feeling at the time of switching may be further alleviated. In addition, at the time of switching from full segment broadcasting to one segment broadcasting, for example, the sound may be silenced for about several milliseconds. In this case, a method of muting the audio output before switching, muting the audio output after switching, or muting both audio outputs can be considered. Also in the other embodiments described below, the same operation can be performed for the audio output switching process, and repeated description will be omitted.

図5は、本発明によるデジタル放送受信機の第1の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化していない場合には、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS2)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS3)。IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行し、IDRピクチャの先頭が検出された場合には(ステップS3−Yes)、ワンセグデコーダ18では、パターン検出部181の内容をバッファ189に保存する(ステップS4)。パターン検出部181の内容とは、検出したIDRピクチャ以後に入力したストリームのデータである。
FIG. 5 is a flowchart for explaining the processing flow in the first embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of the full-segment broadcasting has not deteriorated, the encoded stream data is input to the pattern detection unit 181 of the one-segment decoder 18 (step S2), and the pattern detection unit 181 detects the head of the IDR picture. (Step S3). If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. If the head of the IDR picture is detected (Yes in step S3), the one-segment decoder 18 includes the contents of the pattern detection unit 181. Is stored in the buffer 189 (step S4). The content of the pattern detection unit 181 is stream data input after the detected IDR picture.

そして、この状態でフルセグ放送の受信品質が悪化していなければ(ステップS5−No)、パターン検出部181に対するワンセグ放送のストリームのデータ入力を行う(ステップS6)。そしてIDRピクチャの先頭が検出されると(ステップS7−Yes)、バッファ189をクリアし(ステップS8)、パターン検出部181の内容をバッファに保存する(ステップS4)。   If the reception quality of full-segment broadcasting has not deteriorated in this state (step S5-No), one-segment broadcasting stream data is input to the pattern detection unit 181 (step S6). When the head of the IDR picture is detected (step S7-Yes), the buffer 189 is cleared (step S8), and the contents of the pattern detection unit 181 are stored in the buffer (step S4).

一方、上記ステップS1、もしくはステップS5でフルセグ放送の受信品質が悪化した場合には、フルセグ放送の受信品質が回復していないことを確認し(ステップS9―No)、ワンセグデコーダ18のバッファ189からストリームのデータを読み出す(ステップS10)。フルセグの受信品質が回復していればステップS1に戻る。
ワンセグデコーダ18では、ステップS10でストリームのデータを読み出した後、可変長復号部182で可変長復号を行い(ステップS11)、逆量子化部183で逆量子化を行い(ステップS12)、逆DCT変換部184で逆DCT変換を行う(ステップS13)。次にフレーム間予測であれば(ステップS14−Yes)、動き補償処理を行い(ステップS15)、デブロッキングフィルタ処理を行う(ステップS16)。また、フレーム間予測でなければ(ステップS14−No)、そのままデブロッキングフィルタ処理を行う(ステップS16)。そして、デブロッキングフィルタ処理を行った画像を表示部20に表示させる(ステップS17)。
On the other hand, if the reception quality of full-segment broadcasting deteriorates in step S1 or step S5, it is confirmed that the reception quality of full-segment broadcasting has not recovered (step S9-No), and the buffer 189 of the one-segment decoder 18 is checked. The stream data is read (step S10). If the reception quality of the full segment is recovered, the process returns to step S1.
In the one-segment decoder 18, after the stream data is read out in step S10, the variable length decoding unit 182 performs variable length decoding (step S11), the inverse quantization unit 183 performs inverse quantization (step S12), and the inverse DCT The conversion unit 184 performs inverse DCT conversion (step S13). Next, if it is inter-frame prediction (step S14-Yes), motion compensation processing is performed (step S15), and deblocking filter processing is performed (step S16). If it is not inter-frame prediction (No at Step S14), the deblocking filter process is performed as it is (Step S16). And the image which performed the deblocking filter process is displayed on the display part 20 (step S17).

図6は、本発明によるデジタル放送受信機の第1の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)には、フルセグデコーダ17が動作している。またワンセグ放送の処理系では、パターン検出部181及びバッファ189が動作し、他の部分、すなわち、可変長復号部(VLD)182、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、動き補償部(MC)188、及びフレームメモリ187は動作していない。   FIG. 6 is a diagram showing an example of the control timing of the decoder unit in the first embodiment of the digital broadcast receiver according to the present invention. First, when a full segment broadcast stream is decoded and output under the control of the tuner (state A), the full segment decoder 17 is operating. In the one-segment broadcasting processing system, the pattern detection unit 181 and the buffer 189 operate, and other parts, that is, a variable length decoding unit (VLD) 182, an inverse quantization unit (IQ) 183, and an inverse DCT conversion unit (IDCT). The deblocking filter (DF) 186, the motion compensation unit (MC) 188, and the frame memory 187 are not operating.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は停止する。状態Bでは、ワンセグ放送の処理系では、パターン検出部181及びバッファ189は動作したままであり、他の部分、すなわち、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187も動作し、ワンセグ放送が復号されて出力される。   When the reception state of the full segment broadcast deteriorates and the output is switched from the full segment broadcast to the one segment broadcast (state B), the operation of the full segment decoder 17 is stopped. In the state B, in the processing system of the one-segment broadcasting, the pattern detection unit 181 and the buffer 189 remain operating, and other parts, that is, a variable length decoding unit 182, an inverse quantization unit 183, an inverse DCT conversion unit 184, and a decoding unit. The blocking filter 186, the motion compensation unit 188, and the frame memory 187 also operate, and the one-segment broadcasting is decoded and output.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17が動作し、ワンセグのパターン検出部181及びバッファ189が動作したままとなる。そして他の部分、すなわち、ワンセグの可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187の動作が停止され、フルセグ放送が復号されて出力される。   When the reception status of the full segment broadcast is good again and the one segment broadcast returns to the full segment broadcast (state C), the full segment decoder 17 operates in the same manner as in the state A, and the one segment pattern detection unit 181 and the buffer 189 operate. Will remain. Then, the operations of the other parts, that is, the one-segment variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, the motion compensation unit 188, and the frame memory 187 are stopped, and the full segment broadcasting is performed. Decoded and output.

(第2の実施例)
図7は、本発明によるデジタル放送受信機の第2の実施例の動作を説明するための図である。フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第2の実施例では、フルセグ放送を復号して出力しているときに、ワンセグ放送のストリームからIDRピクチャを検出し、検出したIDRピクチャのみを復号してフレームメモリに保存しておくことにより、低消費電力化を図るとともに、フルセグ放送からワンセグ放送への切り替え時の表示を違和感なく迅速に行うことができるようにしている。
(Second embodiment)
FIG. 7 is a diagram for explaining the operation of the second embodiment of the digital broadcast receiver according to the present invention. In a digital broadcast receiver that switches between full-segment broadcasting and one-segment broadcasting, the second embodiment according to the present invention detects an IDR picture from a one-segment broadcasting stream when the full-segment broadcasting is decoded and output. By decoding only the detected IDR picture and storing it in the frame memory, the power consumption can be reduced, and the display at the time of switching from full segment broadcasting to one segment broadcasting can be quickly performed without a sense of incongruity. ing.

例えば、図7の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系では、ワンセグデコーダ18に入力したストリームからパターン検出部181でIDRピクチャを検出する。ここではパターン検出部181は、IDRピクチャをパターンマッチングで検出する処理を行う。   For example, it is assumed that full segment broadcasting is decoded and output in the state A of FIG. In this state A, in the one-seg broadcast processing system, the IDR picture is detected by the pattern detection unit 181 from the stream input to the one-seg decoder 18. Here, the pattern detection unit 181 performs processing for detecting an IDR picture by pattern matching.

そして、ワンセグデコーダ18では、パターン検出部181で検出したIDRピクチャを復号して保存しておく。復号したIDRピクチャの保存先は、フレームメモリ187を使用することができるが、他のメモリを用意してもよい。本実施例では、復号したIDRピクチャを保存しておくため、図3の構成のバッファ189は必要ない。従って、従来の通常のワンセグデコーダの構成を利用して本実施例の処理を実行できる。   The one-segment decoder 18 decodes and stores the IDR picture detected by the pattern detection unit 181. The frame memory 187 can be used as the storage destination of the decoded IDR picture, but other memories may be prepared. In this embodiment, since the decoded IDR picture is stored, the buffer 189 configured as shown in FIG. 3 is not necessary. Therefore, the processing of this embodiment can be executed using the configuration of a conventional ordinary one-segment decoder.

そしてパターン検出部181が次のIDRピクチャを検出した場合には、これまで保存していた前回のIDRピクチャの復号画像をフレームメモリ187から削除して廃棄し、今回のIDRピクチャを復号してフレームメモリ187に保存する。こうしてフルセグ放送を復号して出力している間は、ワンセグ放送のIDRピクチャごとの復号画像の保存処理を繰り返して実行する。   When the pattern detection unit 181 detects the next IDR picture, the decoded image of the previous IDR picture stored so far is deleted from the frame memory 187 and discarded, and the current IDR picture is decoded and the frame Save in memory 187. While the full-segment broadcasting is decoded and output in this way, the decoded image saving process for each IDR picture of the one-segment broadcasting is repeatedly executed.

次に、デジタル放送受信機は、状態Aでフルセグ放送の受信品質の劣化によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。そしてフルセグ放送からワンセグ放送に切り替えられたときに、ワンセグデコーダ18では、フレームメモリ187に保存していた復号済みの画像を出力する。つまり状態Bでは、その切り替わりの当初からフレームメモリ187に保存されているIDRピクチャの復号画像を表示させる。そして、出力したIDRピクチャの表示をそのまま維持し、フルセグ放送の受信状態の改善を待つ。また、出力しているIDRピクチャの次のIDRピクチャが受信された場合には、そのIDRピクチャを復号して現在表示しているIDRピクチャから切り替える。これにより、IDRピクチャごとに復号画像が表示されることになる。このような表示によって、フルセグ放送からワンセグ放送に切り替える時にワンセグ放送のIDRピクチャを探索する必要がなくなり、フレームメモリ187に保存されている復号画像をただちに表示させることができる。   Next, when the digital broadcast receiver switches to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting in the state A, the digital broadcasting receiver shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. When the full-segment broadcasting is switched to the one-segment broadcasting, the one-seg decoder 18 outputs the decoded image stored in the frame memory 187. That is, in the state B, the decoded image of the IDR picture stored in the frame memory 187 from the beginning of the switching is displayed. Then, the display of the output IDR picture is maintained as it is, and the improvement of the reception state of full segment broadcasting is awaited. When the IDR picture next to the IDR picture being output is received, the IDR picture is decoded and switched from the currently displayed IDR picture. As a result, a decoded image is displayed for each IDR picture. Such display eliminates the need to search for the IDR picture of the one-segment broadcast when switching from the full-segment broadcast to the one-segment broadcast, and the decoded image stored in the frame memory 187 can be displayed immediately.

ワンセグ放送のIDRピクチャを出力している状態(状態B)から、受信状態の改善により再度フルセグ放送の出力に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替えればよい。フルセグ放送は、ストリームのIピクチャから復号して表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送のストリームからIDRピクチャを検出し、検出したIDRピクチャを復号してフレームメモリ187に保存する処理を繰り返していく。   When switching from the state of outputting the IDR picture of the one-segment broadcasting (state B) to the output of the full-segment broadcasting again due to the improved reception state, the state transitions to the state C. In state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full segment broadcasting can be decoded from the I picture of the stream and displayed. In the state C in which the full segment broadcast is output, the process of detecting the IDR picture from the one-segment broadcast stream, decoding the detected IDR picture, and storing it in the frame memory 187 is repeated as in the state A.

本実施例の処理によれば、フルセグ放送の出力時には、ワンセグ放送の処理系では、パターン検出部181でIDRピクチャを検出し、そのIDRピクチャのみを復号してフレームメモリ187に保存する処理のみが行われているので、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。また、本実施例によれば、IDRピクチャを復号した状態でワンセグデコーダ18のフレームメモリ187に保存させておくので、フルセグ放送からワンセグ放送に切り替えたときに瞬時に切り替え表示を行うことができる。またこれらの処理系の制御の簡易である。   According to the processing of this embodiment, at the time of output of full segment broadcasting, in the processing system of one segment broadcasting, only the processing of detecting the IDR picture by the pattern detection unit 181 and decoding only the IDR picture and storing it in the frame memory 187. Since it is performed, power consumption can be reduced as compared with a normal decoding process of one-segment broadcasting. Further, according to the present embodiment, since the IDR picture is decoded and stored in the frame memory 187 of the one-segment decoder 18, switching display can be instantaneously performed when switching from full-segment broadcasting to one-segment broadcasting. In addition, the control of these processing systems is simple.

図8は、本発明によるデジタル放送受信機の第2の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化していない場合には(ステップS21−No)、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS22)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS23)。
FIG. 8 is a flowchart for explaining the flow of processing in the second embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of full-segment broadcasting has not deteriorated (step S21-No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder 18 (step S22), and the pattern detection unit 181 performs IDR. The head of the picture is detected (step S23).

IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行する。また、IDRピクチャの先頭が検出された場合には(ステップS23−Yes)、可変長復号部182で可変長復号を行い(ステップS24)、逆量子化部183で逆量子化を行い(ステップS25)、逆DCT変換部184で逆DCT変換を行う(ステップS26)。そして、デブロッキングフィルタ処理を行って(ステップS27)、復号画像をフレームメモリ187に保存する(ステップS28)。その後IDRピクチャの1フレーム分の復号が終了したかどうかを判断し(ステップS29)、1フレーム分の復号が終了していなければステップS24に戻って復号処理を行い、1フレーム分の復号が終了していればステップS21に戻ってフルセグ放送の受信品質を判断する。   If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. When the head of the IDR picture is detected (step S23-Yes), the variable length decoding unit 182 performs variable length decoding (step S24), and the inverse quantization unit 183 performs inverse quantization (step S25). ), The inverse DCT transform unit 184 performs inverse DCT transform (step S26). Then, a deblocking filter process is performed (step S27), and the decoded image is stored in the frame memory 187 (step S28). Thereafter, it is determined whether or not the decoding of one frame of the IDR picture has been completed (step S29). If the decoding of one frame has not been completed, the process returns to step S24 to perform the decoding process, and the decoding of one frame has been completed. If so, the process returns to step S21 to determine the reception quality of full segment broadcasting.

ステップS21でフルセグ放送の受信品質が悪化した場合、フルセグ放送の受信品質が回復していないことを確認し(ステップS30−No)、ワンセグデコーダ18のフレームメモリ187からデータを読み出して(ステップS31)、表示部20に表示させる(ステップS32)。また、ステップS30でフルセグ放送の受信品質が回復していれば、ステップS21に戻る。   If the reception quality of the full segment broadcast deteriorates in step S21, it is confirmed that the reception quality of the full segment broadcast has not recovered (step S30-No), and data is read from the frame memory 187 of the one-segment decoder 18 (step S31). Is displayed on the display unit 20 (step S32). If the reception quality of full-segment broadcasting is recovered in step S30, the process returns to step S21.

ステップS32でワンセグ放送の1フレームの画像を表示した後、フルセグ放送の受信品質が回復していない場合には(ステップS33−No)、ワンセグデコーダのパターン検出部181に符号化ストリームのデータを入力し(ステップS34)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS35)。   If the reception quality of full-seg broadcasting has not been recovered after displaying a one-segment broadcasting image in step S32 (step S33-No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder. Then, the head of the IDR picture is detected by the pattern detection unit 181 (step S35).

IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行する。また、IDRピクチャの先頭が検出された場合には(ステップS35−Yes)、可変長復号部182で可変長復号を行い(ステップS36)、逆量子化部183で逆量子化を行い(ステップS37)、逆DCT変換部184で逆DCT変換を行う(ステップS38)。そして、デブロッキングフィルタ処理を行って(ステップS39)、表示部に表示させる(ステップS40)。そしてIDRピクチャの1フレーム分の復号が終了したかどうかを判断し(ステップS41)、1フレーム分の復号が終了していなければステップS36に戻って復号処理を行い、1フレーム分の復号が終了していればステップS33に戻ってフルセグ放送の受信品質を判断する。   If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. When the head of the IDR picture is detected (step S35-Yes), the variable length decoding unit 182 performs variable length decoding (step S36), and the inverse quantization unit 183 performs inverse quantization (step S37). ), The inverse DCT transform unit 184 performs inverse DCT transform (step S38). Then, a deblocking filter process is performed (step S39) and displayed on the display unit (step S40). Then, it is determined whether or not the decoding of one frame of the IDR picture has been completed (step S41). If the decoding of one frame has not been completed, the process returns to step S36 to perform the decoding process, and the decoding of one frame has been completed. If so, the process returns to step S33 to determine the reception quality of full segment broadcasting.

図9は、本発明によるデジタル放送受信機の第2の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)、フルセグデコーダ17が動作している。またワンセグ放送の処理系では、パターン検出部181が動作し、さらにIDRピクチャが検出されるタイミングで、可変長復号部(VLD)182、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、及びフレームメモリ187が動作する。IDRピクチャごとに復号を行うため、動き補償部(MC)188は動作しない。   FIG. 9 is a diagram showing an example of control timing of the decoder unit in the second embodiment of the digital broadcast receiver according to the present invention. First, when a full-segment broadcast stream is decoded and output under the control of the tuner (state A), the full-segment decoder 17 is operating. In the one-seg broadcasting processing system, the pattern detection unit 181 operates, and further, at the timing when the IDR picture is detected, the variable length decoding unit (VLD) 182, the inverse quantization unit (IQ) 183, and the inverse DCT conversion unit (IDCT). 184, the deblocking filter (DF) 186, and the frame memory 187 operate. Since decoding is performed for each IDR picture, the motion compensation unit (MC) 188 does not operate.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は停止する。また、状態Bにおいても、ワンセグの処理系の動作は状態Aと同様であり、パターン検出部181が動作し、さらにIDRピクチャが検出されるタイミングで、可変長復号部182、逆量子化部183、ワンセグの逆DCT変換部184、デブロッキングフィルタ186、及びフレームメモリ187が動作する。これにより、ワンセグ放送のIDRピクチャの画像が表示される。表示されているIDRピクチャの次のIDRピクチャを受信したときには、IDRピクチャの画像が切り替わる。   When the reception state of the full segment broadcast deteriorates and the output is switched from the full segment broadcast to the one segment broadcast (state B), the operation of the full segment decoder 17 is stopped. Also in state B, the operation of the one-segment processing system is the same as in state A, and the variable length decoding unit 182 and the inverse quantization unit 183 are operated at the timing when the pattern detection unit 181 operates and the IDR picture is detected. The one-segment inverse DCT converter 184, the deblocking filter 186, and the frame memory 187 operate. Thereby, the image of the IDR picture of the one-segment broadcasting is displayed. When the IDR picture next to the displayed IDR picture is received, the image of the IDR picture is switched.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17が動作する。そして状態A,Bと同様に、パターン検出部181が動作し、IDRピクチャが検出されるタイミングで、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、及びフレームメモリ187が動作する。   When the reception state of the full segment broadcast is good again and the one segment broadcast returns to the full segment broadcast (state C), the full segment decoder 17 operates as in the state A. Then, similarly to the states A and B, at the timing when the pattern detection unit 181 operates and the IDR picture is detected, the variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, and The frame memory 187 operates.

(第3の実施例)
図10は、本発明によるデジタル放送受信機の第3の実施例の動作を説明するための図である。フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第3の実施例では、フルセグ放送を復号して出力しているときに、ワンセグ放送のストリームからIDRピクチャを検出し、検出したIDRピクチャのみを復号してフレームメモリに保存しておくことにより、低消費電力化を図るとともに、フルセグからワンセグへの切り替え時の表示を違和感なく迅速に行うことができるようにしている。実施例2との違いは、ワンセグ放送の出力時にフレームメモリに保存したIDRピクチャの次のIDRピクチャから復号を行ってストリームを表示させることにある。以下に具体的に説明する。
(Third embodiment)
FIG. 10 is a diagram for explaining the operation of the third embodiment of the digital broadcast receiver according to the present invention. In a digital broadcast receiver that switches between full-segment broadcasting and one-segment broadcasting, in the third embodiment according to the present invention, when a full-segment broadcasting is decoded and output, an IDR picture is detected from the one-segment broadcasting stream. By decoding only the detected IDR picture and storing it in the frame memory, it is possible to reduce power consumption and to quickly display the display when switching from full segment to one segment. . The difference from the second embodiment is that the stream is displayed by decoding from the IDR picture next to the IDR picture stored in the frame memory when the one-segment broadcasting is output. This will be specifically described below.

例えば、図10の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系では、ワンセグデコーダ18に入力したストリームからパターン検出部181でIDRピクチャを検出する。ここではパターン検出部181は、IDRピクチャをパターンマッチングで検出する処理を行う。   For example, it is assumed that the full segment broadcast is decoded and output in the state A of FIG. In this state A, in the one-seg broadcast processing system, the IDR picture is detected by the pattern detection unit 181 from the stream input to the one-seg decoder 18. Here, the pattern detection unit 181 performs processing for detecting an IDR picture by pattern matching.

そして、ワンセグデコーダ18では、パターン検出部181で検出したIDRピクチャを復号して保存させておく。復号したIDRピクチャの保存先は、フレームメモリ187を使用することができるが、他のメモリを用意してもよい。本実施例では、復号したIDRピクチャを保存しておくため、図3の構成のバッファ189は必要ない。従って、従来の通常のワンセグデコーダの構成を利用して本実施例の処理を実行できる。   Then, the one-segment decoder 18 decodes and stores the IDR picture detected by the pattern detection unit 181. The frame memory 187 can be used as the storage destination of the decoded IDR picture, but other memories may be prepared. In this embodiment, since the decoded IDR picture is stored, the buffer 189 configured as shown in FIG. 3 is not necessary. Therefore, the processing of this embodiment can be executed using the configuration of a conventional ordinary one-segment decoder.

そしてパターン検出部181が次のIDRピクチャを検出した場合には、これまで保存していた前回のIDRピクチャの復号画像をフレームメモリ187から削除して廃棄し、今回のIDRピクチャを復号してフレームメモリ187に保存する。こうしてフルセグ放送を復号して出力している間は、ワンセグ放送のIDRピクチャごとの復号画像の保存処理を繰り返して実行する。   When the pattern detection unit 181 detects the next IDR picture, the decoded image of the previous IDR picture stored so far is deleted from the frame memory 187 and discarded, and the current IDR picture is decoded and the frame Save in memory 187. While the full-segment broadcasting is decoded and output in this way, the decoded image saving process for each IDR picture of the one-segment broadcasting is repeatedly executed.

次に、デジタル放送受信機は、状態Aでフルセグ放送の受信品質の劣化等によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。そしてフルセグ放送からワンセグ放送に切り替えられたときに、ワンセグデコーダ18では、フレームメモリ187に保存していた復号済みの画像を出力する。つまり状態Bでは、その切り替わりの当初からフレームメモリ187に保存しているIDRピクチャの復号画像を表示させる。そして、出力したIDRピクチャの表示をそのまま維持する。また、出力しているIDRピクチャの次のIDRピクチャが受信された場合には、そのIDRピクチャから後のストリームを復号し、現在表示しているIDRピクチャに切り替えて表示させる。これにより、フレームメモリ187に保存している最初のIDRピクチャのみ表示が維持され、次のIDRピクチャからは復号されたストリームの画像が表示される。このような表示によって、フルセグ放送からワンセグ放送に切り替える時にワンセグ放送からIDRピクチャを探索する必要がなく、フレームメモリ187に保存している復号画像をただちに表示させることができ、さらに次のIDRピクチャからは復号されたワンセグ放送の画像を表示させることができる。   Next, when the digital broadcast receiver is switched to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting or the like in the state A, the digital broadcasting receiver shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. When the full-segment broadcasting is switched to the one-segment broadcasting, the one-seg decoder 18 outputs the decoded image stored in the frame memory 187. That is, in the state B, the decoded image of the IDR picture stored in the frame memory 187 from the beginning of the switching is displayed. Then, the display of the output IDR picture is maintained as it is. When the IDR picture next to the IDR picture being output is received, the stream subsequent to the IDR picture is decoded and switched to the currently displayed IDR picture. As a result, the display of only the first IDR picture stored in the frame memory 187 is maintained, and the decoded stream image is displayed from the next IDR picture. With such a display, when switching from full-segment broadcasting to one-segment broadcasting, it is not necessary to search for an IDR picture from the one-segment broadcasting, and the decoded image stored in the frame memory 187 can be displayed immediately, and further from the next IDR picture. Can display a decoded one-segment broadcasting image.

ワンセグ放送のIDRピクチャを出力している状態(状態B)から、受信状態の改善により再度フルセグ放送の出力に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替えればよい。フルセグ放送は、ストリームのIピクチャから復号して表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送のストリームからIDRピクチャを検出し、検出したIDRピクチャを復号してフレームメモリ187に保存する処理を繰り返していく。   When switching from the state of outputting the IDR picture of the one-segment broadcasting (state B) to the output of the full-segment broadcasting again due to the improved reception state, the state transitions to the state C. In state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full segment broadcasting can be decoded from the I picture of the stream and displayed. In the state C in which the full segment broadcast is output, the process of detecting the IDR picture from the one-segment broadcast stream, decoding the detected IDR picture, and storing it in the frame memory 187 is repeated as in the state A.

本実施例の処理によれば、フルセグ放送の出力時には、ワンセグ放送の処理系では、パターン検出部181でIDRピクチャを検出し、そのIDRピクチャのみを復号してフレームメモリ187に保存する処理のみが行われているので、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。
また、本実施例によれば、IDRピクチャを復号した状態でワンセグデコーダ18のフレームメモリ187に保存させておくので、フルセグ放送からワンセグ放送に切り替えたときに瞬時に切り替え表示を行うことができる。また、フルセグ放送からワンセグ放送に切り替えたときに、次のIDRピクチャからは復号されたストリームの画像が表示されるため、違和感が少なくワンセグ放送の表示を行わせることができる。
According to the processing of this embodiment, at the time of output of full segment broadcasting, in the processing system of one segment broadcasting, only the processing of detecting the IDR picture by the pattern detection unit 181 and decoding only the IDR picture and storing it in the frame memory 187. Since it is performed, power consumption can be reduced as compared with a normal decoding process of one-segment broadcasting.
Further, according to the present embodiment, since the IDR picture is decoded and stored in the frame memory 187 of the one-segment decoder 18, switching display can be instantaneously performed when switching from full-segment broadcasting to one-segment broadcasting. In addition, when switching from full-segment broadcasting to one-segment broadcasting, since the decoded stream image is displayed from the next IDR picture, it is possible to display the one-segment broadcasting with little discomfort.

図11は、本発明によるデジタル放送受信機の第3の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化していない場合には(ステップS51−No)、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS52)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS53)。
FIG. 11 is a flowchart for explaining the flow of processing in the third embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of full-segment broadcasting has not deteriorated (step S51-No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder 18 (step S52), and the pattern detection unit 181 performs IDR. The head of the picture is detected (step S53).

IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行する。また、IDRピクチャの先頭が検出された場合には(ステップS53−Yes)、可変長復号部182で可変長復号を行い(ステップS54)、逆量子化部183で逆量子化を行い(ステップS55)、逆DCT変換部184で逆DCT変換を行う(ステップS56)。そして、デブロッキングフィルタ処理を行って(ステップS57)、復号画像をフレームメモリ187に保存する(ステップS58)。その後IDRピクチャの1フレーム分の復号が終了したかどうかを判断し(ステップS59)、1フレーム分の復号が終了していなければステップS54に戻って復号処理を行い、1フレーム分の復号が終了していればステップS51に戻ってフルセグ放送の受信品質を判断する。   If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. If the head of the IDR picture is detected (step S53-Yes), variable length decoding is performed by the variable length decoding unit 182 (step S54), and inverse quantization is performed by the inverse quantization unit 183 (step S55). ), The inverse DCT transform unit 184 performs inverse DCT transform (step S56). Then, deblocking filter processing is performed (step S57), and the decoded image is stored in the frame memory 187 (step S58). Thereafter, it is determined whether or not the decoding of one frame of the IDR picture has been completed (step S59). If the decoding of one frame has not been completed, the process returns to step S54 to perform the decoding process, and the decoding of one frame has been completed. If so, the process returns to step S51 to determine the reception quality of full segment broadcasting.

ステップS51でフルセグ放送の受信品質が悪化した場合、フルセグ放送の受信品質が回復していないことを確認し(ステップS60−No)、ワンセグデコーダ18のフレームメモリ187からデータを読み出して(ステップS61)、表示部20に表示させる(ステップS62)。また、ステップS60でフルセグ放送の受信品質が回復していれば、ステップS51に戻る。   If the reception quality of the full segment broadcast has deteriorated in step S51, it is confirmed that the reception quality of the full segment broadcast has not recovered (step S60-No), and data is read from the frame memory 187 of the one-segment decoder 18 (step S61). Is displayed on the display unit 20 (step S62). On the other hand, if the reception quality of full-segment broadcasting is recovered in step S60, the process returns to step S51.

ステップS62でワンセグ放送の1フレームの画像を表示した後、フルセグ放送の受信品質が回復していない場合には(ステップS63−No)、バッファ189からデータを読み出す(ステップS64)。ここでは、ワンセグ放送用のパターン検出部181にて次のIDRピクチャを検出し、バッファ189に保存しておく。フルセグ放送からワンセグ放送に切り替えて、復号済みのIDRピクチャをフレームメモリ187から読み出して表示した後、次のIDRピクチャからは、バッファ189に保存した符号化された状態のIDRピクチャを利用してストリームの復号及び表示を行わせる。   If the reception quality of the full-segment broadcasting is not recovered after displaying the one-segment broadcasting image in step S62 (step S63-No), data is read from the buffer 189 (step S64). Here, the next IDR picture is detected by the pattern detection unit 181 for one-segment broadcasting and stored in the buffer 189. After switching from full segment broadcasting to one segment broadcasting, the decoded IDR picture is read from the frame memory 187 and displayed, and then the next IDR picture is streamed using the encoded IDR picture stored in the buffer 189. To decrypt and display.

上記のステップS64でバッファからデータを読み出した後、可変長復号部182で可変長復号を行い(ステップS65)、逆量子化部183で逆量子化を行い(ステップS66)、逆DCT変換部184で逆DCT変換を行う(ステップS67)。次にフレーム間予測であれば(ステップS68−Yes)、動き補償処理を行い(ステップS69)、デブブロッキングフィルタ処理を行う(ステップS70)。また、フレーム間予測でなければ(ステップS68−No)、そのままデブロッキングフィルタ処理を行う(ステップS70)。そして、デブロッキングフィルタ処理を行った画像を表示部に表示させ(ステップS71)、ステップS63に戻ってフルセグの受信品質を確認する。ステップS63でフルセグ放送の受信品質が回復している場合には、ステップS51に戻る。   After reading the data from the buffer in the above step S64, the variable length decoding unit 182 performs variable length decoding (step S65), the inverse quantization unit 183 performs inverse quantization (step S66), and the inverse DCT conversion unit 184. Then, inverse DCT transformation is performed (step S67). Next, if it is inter-frame prediction (step S68-Yes), motion compensation processing is performed (step S69), and deblocking filter processing is performed (step S70). If it is not inter-frame prediction (No at Step S68), the deblocking filter process is performed as it is (Step S70). And the image which performed the deblocking filter process is displayed on a display part (step S71), and it returns to step S63 and confirms the reception quality of a full segment. If the reception quality of full segment broadcasting is recovered in step S63, the process returns to step S51.

図12は、本発明によるデジタル放送受信機の第3の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)、フルセグデコーダ17が動作している。また、ワンセグ放送の処理系では、パターン検出部181とバッファ189が動作している。さらに、ワンセグ放送の処理系では、IDRピクチャが検出されるタイミングで、可変長復号部(VLD)182、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、及びワンセグのフレームメモリ187が動作する。IDRピクチャごとに復号を行うため、ワンセグの動き補償部(MC)188は動作しない。   FIG. 12 is a diagram showing an example of the control timing of the decoder unit in the third embodiment of the digital broadcast receiver according to the present invention. First, when a full-segment broadcast stream is decoded and output under the control of the tuner (state A), the full-segment decoder 17 is operating. In the one-segment broadcasting processing system, the pattern detection unit 181 and the buffer 189 are operating. Furthermore, in the processing system of one-segment broadcasting, at the timing when an IDR picture is detected, a variable length decoding unit (VLD) 182, an inverse quantization unit (IQ) 183, an inverse DCT transform unit (IDCT) 184, a deblocking filter (DF ) 186 and the one-segment frame memory 187 operate. Since decoding is performed for each IDR picture, the one-segment motion compensation unit (MC) 188 does not operate.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は停止する。また、状態Bにおいても、ワンセグ放送の処理系のパターン検出部181およびバッファ189の動作は維持される。また、ワンセグ放送の処理系の可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、及びフレームメモリ187は、フレームメモリ187に復号して保存しておいたIDRピクチャの次のIDRピクチャからストリームを復号するための動作を行う。これにより、フルセグ放送からワンセグ放送に切り替えられたときに、フレームメモリ187に保存しておいた復号済みのIDRピクチャがまず表示され、次のIDRピクチャからは、復号しながらストリームの表示を行うため、違和感が少なく切り替え表示が行われる。   When the reception state of the full segment broadcast deteriorates and the output is switched from the full segment broadcast to the one segment broadcast (state B), the operation of the full segment decoder 17 is stopped. Also in the state B, the operations of the pattern detection unit 181 and the buffer 189 in the one-seg broadcast processing system are maintained. In addition, the variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, and the frame memory 187 of the one-segment broadcasting processing system are decoded and stored in the frame memory 187. An operation for decoding a stream from the IDR picture next to the picture is performed. Thus, when switching from full segment broadcasting to one segment broadcasting, the decoded IDR picture stored in the frame memory 187 is first displayed, and the stream is displayed while decoding from the next IDR picture. Switching display is performed with little uncomfortable feeling.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17と、ワンセグ放送の処理系のパターン検出部181及びワンセグのバッファ189が動作し、さらに、IDRピクチャが検出されるタイミングで、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、及びフレームメモリ187が動作する。ここではワンセグの動き補償部188は動作しない。   When the reception status of the full-segment broadcast becomes good again and the one-segment broadcast returns to the full-segment broadcast (state C), as in the state A, the full-segment decoder 17, the pattern detection unit 181 of the one-segment broadcast processing system, and the one-segment broadcast buffer In addition, the variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT transform unit 184, the deblocking filter 186, and the frame memory 187 are operated at the timing when the IDR picture is detected. Here, the one-segment motion compensation unit 188 does not operate.

(第4の実施例)
図13は、本発明によるデジタル放送受信機の第4の実施例の動作を説明するための図である。フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第4の実施例では、フルセグ放送を復号して出力しているときに、ワンセグ放送の符号化データからIDRピクチャを検出し、検出したIDRピクチャ以後、次のIDRピクチャまでのストリームをバッファに保存しておく。そしてフルセグ放送からワンセグ放送に切り替える際には、ワンセグ放送の復号が可能になるまでフルセグ放送の静止画を表示するとともに、ワンセグ放送の処理系では、バッファに保存したIDRピクチャから早送り再生を行い、バッファの保存データが空になった時点でフルセグ放送の静止画からワンセグ放送の通常の復号表示に切り換えることで、低消費電力化を図るとともに、フルセグからワンセグへの切り替え時の表示を違和感なく迅速に行うことができるようにしている。
(Fourth embodiment)
FIG. 13 is a diagram for explaining the operation of the fourth embodiment of the digital broadcast receiver according to the present invention. In a digital broadcast receiver that switches between full-segment broadcasting and one-segment broadcasting, in the fourth embodiment according to the present invention, when decoding and outputting full-segment broadcasting, an IDR picture is obtained from encoded data of one-segment broadcasting. A stream from the detected IDR picture to the next IDR picture is stored in a buffer. When switching from full-segment broadcasting to one-segment broadcasting, the full-segment broadcasting still image is displayed until decoding of the one-segment broadcasting is possible, and the one-segment broadcasting processing system performs fast-forward playback from the IDR picture stored in the buffer, When the stored data in the buffer becomes empty, switching from full-segment broadcasting still image to normal decoding display of one-segment broadcasting reduces power consumption and prompts the display when switching from full-segment to one-segment broadcasting without a sense of incongruity To be able to do that.

例えば、図13の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系では、ワンセグデコーダ18に入力した符号化ストリームからパターン検出部181でIDRピクチャを検出する。ここではパターン検出部181は、IDRピクチャをパターンマッチングで検出する処理を行う。   For example, assume that full-segment broadcasting is decoded and output in the state A of FIG. In this state A, in the one-seg broadcasting processing system, the pattern detection unit 181 detects an IDR picture from the encoded stream input to the one-seg decoder 18. Here, the pattern detection unit 181 performs processing for detecting an IDR picture by pattern matching.

そして、ワンセグデコーダ18では、パターン検出部181で検出したIDRピクチャ以後のストリームをバッファ189に記憶させる。そしてパターン検出部181が次のIDRピクチャを検出した場合には、これまで記憶させていた前回のIDRピクチャから今回のIDRピクチャの直前のピクチャまでのストリームをバッファ189から削除して廃棄し、今回のIDRピクチャ以後のストリームをバッファ189に保存させる。こうしてフルセグ放送を復号して出力している間は、このようなワンセグ放送のIDRピクチャごとのストリームの保存処理を繰り返して実行する。このように、フルセグ放送が出力されている状態Aでは、本実施例は、前述の第1の実施例と同様に動作する。   In the one-segment decoder 18, the stream after the IDR picture detected by the pattern detection unit 181 is stored in the buffer 189. When the pattern detection unit 181 detects the next IDR picture, the stream from the previous IDR picture stored until now to the picture immediately before the current IDR picture is deleted from the buffer 189 and discarded. The stream after the IDR picture is stored in the buffer 189. While the full-segment broadcasting is decoded and output in this manner, the stream storing process for each IDR picture of the one-segment broadcasting is repeatedly executed. As described above, in the state A in which full-segment broadcasting is output, the present embodiment operates in the same manner as the first embodiment described above.

次に、デジタル放送受信機は、状態Aでフルセグ放送の受信品質の劣化等によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。そしてフルセグ放送からワンセグ放送に切り替えられたときに、ワンセグデコーダ18では、バッファ189に保存していたストリームを最初のIDRピクチャから復号し、表示部20に対して出力させる。このときに、復号したストリームはコマ落としをしながら早送りで表示し、バッファ189が空になるまで早送りを続ける。コマ落としでは、例えば3つうち2つのフレームを削除して出力する処理を行う。そしてバッファ189が空になった時点で、ワンセグ放送の通常の復号処理を行って出力表示させる。   Next, when the digital broadcast receiver is switched to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting or the like in the state A, the digital broadcasting receiver shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. When the full-segment broadcasting is switched to the one-segment broadcasting, the one-seg decoder 18 decodes the stream stored in the buffer 189 from the first IDR picture and causes the display unit 20 to output the stream. At this time, the decoded stream is displayed with fast-forwarding while dropping frames, and fast-forwarding is continued until the buffer 189 becomes empty. In frame dropping, for example, a process of deleting and outputting two frames out of three is performed. When the buffer 189 is emptied, normal one-segment broadcasting decoding processing is performed for output display.

つまり状態Bでは、その切り替わりの当初からバッファ189に保存しているIDRピクチャ以後のストリームを復号し、バッファ189が空になるまでコマ落とししながら早送りして表示させる。ここでは切り替え時にワンセグ放送からIDRピクチャを探索する必要がなく、バッファ189に保存しているストリームの復号をただちに開始することができる。   In other words, in the state B, the stream after the IDR picture stored in the buffer 189 from the beginning of the switching is decoded, and fast-forwarded and displayed while dropping frames until the buffer 189 becomes empty. Here, it is not necessary to search for an IDR picture from the one-segment broadcasting at the time of switching, and the decoding of the stream stored in the buffer 189 can be started immediately.

ワンセグ放送を出力している状態(状態B)から、受信状態の改善により再度フルセグ放送の出力に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替えればよい。フルセグ放送は、ストリームのIピクチャから復号して表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送のストリームからIDRピクチャを検出し、次のIDRピクチャまでのストリームをバッファ189に保存する処理を繰り返していく。   When switching from the state where the one-segment broadcasting is being output (state B) to the output of the full-segment broadcasting again due to the improvement of the reception state, the state transitions to the state C. In state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full segment broadcasting can be decoded from the I picture of the stream and displayed. In the state C where the full segment broadcast is being output, the process of detecting the IDR picture from the one-segment broadcast stream and storing the stream up to the next IDR picture in the buffer 189 is repeated as in the state A.

本実施例の処理によれば、フルセグ放送を出力時には、ワンセグ放送の処理系では、パターン検出部181でIDRピクチャを検出し、バッファ189に保存する処理のみが実行されるので、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。   According to the processing of this embodiment, when full-segment broadcasting is output, in the processing system of one-segment broadcasting, only the processing of detecting the IDR picture by the pattern detection unit 181 and storing it in the buffer 189 is executed. The power consumption can be reduced compared with the decoding process.

図14及び図15は、本発明によるデジタル放送受信機の第4の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化していない場合には(ステップS81−No)、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS82)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS83)。IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行し、IDRピクチャの先頭が検出された場合には(ステップS83−Yes)、ワンセグデコーダ18では、パターン検出部181の内容をバッファ189に保存する(ステップS84)。パターン検出部181の内容とは、検出したIDRピクチャ以後に入力したストリームのデータである。
14 and 15 are flowcharts for explaining the flow of processing in the fourth embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of full-segment broadcasting has not deteriorated (step S81-No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder 18 (step S82), and the pattern detection unit 181 performs IDR. The beginning of the picture is detected (step S83). If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. If the head of the IDR picture is detected (step S83-Yes), the one-segment decoder 18 uses the contents of the pattern detection unit 181. Is stored in the buffer 189 (step S84). The content of the pattern detection unit 181 is stream data input after the detected IDR picture.

そして、この状態でフルセグ放送の受信品質が悪化していなければ(ステップS85−No)、パターン検出部181に対するワンセグ放送のストリームのデータ入力を行う(ステップS86)。そしてIDRピクチャの先頭が検出されると(ステップS87−Yes)、バッファ189をクリアし(ステップS88)、パターン検出部181の内容をバッファに保存する(ステップS84)。   If the reception quality of the full segment broadcast is not deteriorated in this state (No in step S85), the data of the one-segment broadcast stream is input to the pattern detection unit 181 (step S86). When the head of the IDR picture is detected (step S87-Yes), the buffer 189 is cleared (step S88), and the contents of the pattern detection unit 181 are stored in the buffer (step S84).

一方、上記ステップS81、もしくはステップS85でフルセグ放送の受信品質が悪化した場合には、フルセグ放送の受信品質が回復していないことを確認し(ステップS89−No)、ワンセグデコーダ18のバッファ189からストリームのデータを読み出す(ステップS90)。フルセグ放送の受信品質が回復していればステップS81に戻る。
ワンセグデコーダ18では、ステップS90でストリームのデータを読み出した後、バッファ189が空になっているか否かを判別し(ステップS91)、空になっていなければ、可変長復号部182で可変長復号を行い(ステップS92)、逆量子化部183で逆量子化を行い(ステップS93)、逆DCT変換部184で逆DCT変換を行う(ステップS94)。次にフレーム間予測であれば(ステップS95−Yes)、動き補償処理を行い(ステップS96)、デブブロッキングフィルタ処理を行う(ステップS97)。また、フレーム間予測でなければ(ステップS95−No)、そのままデブロッキングフィルタ処理を行う(ステップS97)。
On the other hand, if the reception quality of the full segment broadcast has deteriorated in step S81 or step S85, it is confirmed that the reception quality of the full segment broadcast has not been recovered (step S89-No), and the buffer 189 of the one segment decoder 18 is checked. The stream data is read (step S90). If the reception quality of full-segment broadcasting has been recovered, the process returns to step S81.
The one-segment decoder 18 determines whether or not the buffer 189 is empty after reading the stream data in step S90 (step S91). If the buffer is not empty, the variable-length decoder 182 performs variable-length decoding. (Step S92), the inverse quantization unit 183 performs inverse quantization (step S93), and the inverse DCT transform unit 184 performs inverse DCT transform (step S94). Next, if it is inter-frame prediction (step S95-Yes), motion compensation processing is performed (step S96), and deblocking filter processing is performed (step S97). If it is not inter-frame prediction (No at Step S95), the deblocking filter process is performed as it is (Step S97).

そして、デブロッキングフィルタ処理を行った画像をコマ落としする画像かとどうかを判別する(ステップS98)。ここでは、バッファ189から読み出したデータを早送りして表示するためにコマ落としにて表示させる処理を行う。例えば3フレームのうち2フレームのコマを落とすように定めることができる。ステップS98では、デブロックフィルタ処理された画像がコマ落としする画像のデータか否かを判別する。そして、コマ落としを行わない画像のデータであれば、表示部20に表示させ、ステップS89に戻る。一方、コマ落としを行う画像のデータであれば、表示部20への表示を行うことなくステップS89に戻る。こうして、バッファ189に保存されているデータを読み出しながら、所定のコマ落としを行って早送り表示を行っていく。   And it is discriminate | determined whether the image which performed the deblocking filter process is an image which drops a frame (step S98). Here, in order to fast-forward and display the data read from the buffer 189, a process of displaying by frame dropping is performed. For example, it can be determined that two frames out of three frames are dropped. In step S98, it is determined whether or not the image subjected to the deblocking filter process is image data for dropping frames. If the image data is not subjected to frame dropping, it is displayed on the display unit 20, and the process returns to step S89. On the other hand, if the image data is to drop frames, the process returns to step S89 without displaying on the display unit 20. In this way, while reading out the data stored in the buffer 189, a predetermined frame drop is performed and fast-forward display is performed.

そして上記のステップS91でバッファ189が空になった場合には、ワンセグ放送の通常の復号表示に移行する。すなわち、まずフルセグ放送の受信品質が回復していないことを確認し(ステップS100−No)、ワンセグデコーダ18にデータを入力し(ステップS101)、ワンセグデコーダ18の可変長復号部182で可変長復号を行い(ステップS102)、逆量子化部183で逆量子化を行い(ステップS103)、逆DCT変換部184で逆DCT変換を行う(ステップS104)。次にフレーム間予測であれば(ステップS105−Yes)、動き補償処理を行い(ステップS106)、デブブロッキングフィルタ処理を行う(ステップS107)。また、フレーム間予測でなければ(ステップS105−No)、そのままデブロッキングフィルタ処理を行う(ステップS107)。そして、デブロッキングフィルタ処理を行ったデータを表示させる(ステップS108)。
また、上記ステップS89、またはS100でフルセグ放送の受信品質が回復していれば、ステップS81に戻って、ワンセグ放送のIDRピクチャ間のストリームをバッファ189に保存する処理を開始する。
If the buffer 189 is emptied in step S91 described above, the routine proceeds to normal decoding display for one-segment broadcasting. That is, first, it is confirmed that the reception quality of full segment broadcasting has not recovered (step S100-No), data is input to the one segment decoder 18 (step S101), and variable length decoding is performed by the variable length decoding unit 182 of the one segment decoder 18. (Step S102), the inverse quantization unit 183 performs inverse quantization (step S103), and the inverse DCT transform unit 184 performs inverse DCT transform (step S104). Next, if it is inter-frame prediction (step S105-Yes), motion compensation processing is performed (step S106), and deblocking filter processing is performed (step S107). If it is not inter-frame prediction (No at Step S105), the deblocking filter process is performed as it is (Step S107). And the data which performed the deblocking filter process are displayed (step S108).
If the reception quality of full-segment broadcasting has been recovered in step S89 or S100, the process returns to step S81 to start processing for storing the stream between IDR pictures of one-segment broadcasting in the buffer 189.

図16は、本発明によるデジタル放送受信機の第4の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)、フルセグデコーダ17が動作している。またワンセグ放送の処理系では、パターン検出部181及びバッファ189が動作し、他の部分、すなわち可変長復号部(VLD)181、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、動き補償部(MC)188、及びフレームメモリ187は動作していない。また、ワンセグ放送のストリームを早送り表示させるためのコマ送り制御信号は、状態AではOFFになっている。コマ送り制御信号は、図2の場合、制御部21の制御によって生成される信号であり、ワンセグデコーダ18では、この制御信号に従って例えば3つのうち2つのフレームをコマ落としして出力する処理を実行する。   FIG. 16 is a diagram showing an example of the control timing of the decoder unit in the fourth embodiment of the digital broadcast receiver according to the present invention. First, when a full-segment broadcast stream is decoded and output under the control of the tuner (state A), the full-segment decoder 17 is operating. In the one-segment broadcasting processing system, the pattern detection unit 181 and the buffer 189 operate, and other parts, that is, a variable length decoding unit (VLD) 181, an inverse quantization unit (IQ) 183, and an inverse DCT conversion unit (IDCT) 184. The deblocking filter (DF) 186, the motion compensation unit (MC) 188, and the frame memory 187 are not operating. Further, the frame advance control signal for displaying the one-segment broadcast stream in the fast-forward state is OFF in the state A. In the case of FIG. 2, the frame advance control signal is a signal generated by the control of the control unit 21, and the one-segment decoder 18 executes a process of dropping two frames out of, for example, three frames according to this control signal and outputting them. To do.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は停止する。また、ワンセグ放送の処理系では、パターン検出部181、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187が動作する。そして、バッファ189は、状態Aのときに保存したストリームのデータが空になるまでは動作し、その後動作は停止する。また、コマ送り制御信号は、フルセグ放送からワンセグ放送への切り替え時にONになり、バッファ189に保存されたストリームのデータがなくなるとOFFになる。   When the reception state of the full segment broadcast deteriorates and the output is switched from the full segment broadcast to the one segment broadcast (state B), the operation of the full segment decoder 17 is stopped. In the one-seg broadcast processing system, the pattern detection unit 181, variable length decoding unit 182, inverse quantization unit 183, inverse DCT conversion unit 184, deblocking filter 186, motion compensation unit 188, and frame memory 187 operate. The buffer 189 operates until the stream data stored in the state A becomes empty, and then the operation stops. The frame advance control signal is turned ON when switching from full segment broadcasting to one segment broadcasting, and is turned OFF when there is no stream data stored in the buffer 189.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17、及びワンセグ放送の処理系のパターン検出部181とバッファ189が動作し、他の部分、すなわち、ワンセグ放送の処理系の逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187が動作しない。また、コマ送り制御信号もOFFのままである。   When the reception state of the full-segment broadcast is improved again and the one-segment broadcast returns to the full-segment broadcast (state C), the full-segment decoder 17 and the pattern detection unit 181 and the buffer 189 of the one-segment broadcast processing system are the same as in the state A. The other parts, that is, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, the motion compensation unit 188, and the frame memory 187 in the one-segment broadcasting processing system do not operate. Also, the frame advance control signal remains OFF.

(第5の実施例)
図17は、本発明によるデジタル放送受信機の第5の実施例の動作を説明するための図である。フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第5の実施例では、フルセグ放送を復号して出力しているときに、ワンセグ放送の符号化データからIDRピクチャを検出し、検出したIDRピクチャ以後、次のIDRピクチャまでのストリームをバッファに保存しておく。そして再生時には、バッファに保存したIDRピクチャから高速復号を行うが表示はせず、フルセグ放送の復号不可直前の画面を静止画で表示させておく。バッファの保存データが空になった時点でワンセグ放送の通常の復号表示に切り替えることで、低消費電力化を図るとともに、フルセグからワンセグへの切り替え時の表示をより連続性を保って違和感なく迅速に行うことができるようにしている。
(Fifth embodiment)
FIG. 17 is a diagram for explaining the operation of the fifth embodiment of the digital broadcast receiver according to the present invention. In a digital broadcast receiver that switches between full-segment broadcasting and one-segment broadcasting, in the fifth embodiment according to the present invention, when decoding and outputting full-segment broadcasting, an IDR picture is obtained from encoded data of one-segment broadcasting. A stream from the detected IDR picture to the next IDR picture is stored in a buffer. At the time of reproduction, high-speed decoding is performed from the IDR picture stored in the buffer, but no display is performed, and the screen immediately before the decoding of full-segment broadcasting cannot be performed is displayed as a still image. When the stored data in the buffer becomes empty, switching to the normal decoding display of 1Seg broadcasting will reduce power consumption, and the display when switching from Full Seg to 1Seg will be more continuous and quick without a sense of incongruity To be able to do that.

例えば、図17の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系では、ワンセグデコーダ18に入力した符号化ストリームからパターン検出部181でIDRピクチャを検出する。ここではパターン検出部181は、IDRピクチャをパターンマッチングで検出する処理を行う。   For example, assume that full segment broadcasting is decoded and output in state A of FIG. In this state A, in the one-seg broadcasting processing system, the pattern detection unit 181 detects an IDR picture from the encoded stream input to the one-seg decoder 18. Here, the pattern detection unit 181 performs processing for detecting an IDR picture by pattern matching.

そして、ワンセグデコーダ18では、パターン検出部181で検出したIDRピクチャ以後のストリームをバッファ189に記憶させる。そしてパターン検出部181が次のIDRピクチャを検出した場合には、これまで記憶させていた前回のIDRピクチャから今回のIDRピクチャの直前のピクチャまでのストリームをバッファ189から削除して廃棄し、今回のIDRピクチャ以後のストリームをバッファ189に保存させる。こうしてフルセグ放送を復号して出力している間は、このようなワンセグ放送のIDRピクチャごとのストリームの保存処理を繰り返して実行する。このように、フルセグ放送が出力されている状態Aでは、本実施例は、前述の第1の実施例と同様に動作する。   In the one-segment decoder 18, the stream after the IDR picture detected by the pattern detection unit 181 is stored in the buffer 189. When the pattern detection unit 181 detects the next IDR picture, the stream from the previous IDR picture stored until now to the picture immediately before the current IDR picture is deleted from the buffer 189 and discarded. The stream after the IDR picture is stored in the buffer 189. While the full-segment broadcasting is decoded and output in this manner, the stream storing process for each IDR picture of the one-segment broadcasting is repeatedly executed. As described above, in the state A in which full-segment broadcasting is output, the present embodiment operates in the same manner as the first embodiment described above.

次に、デジタル放送受信機は、状態Aでフルセグ放送の受信品質の劣化等によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。そしてフルセグ放送からワンセグ放送に切り替えられたときに、ワンセグデコーダ18では、バッファ189に保存していたストリームを最初のIDRピクチャから復号するが、表示は行わずに廃棄する。状態Bでは、フルセグ放送の復号不可直前の画面を静止画で表示させる。状態Aから状態Bへの切り替え時には、ワンセグ放送の処理系では、バッファに189に保存されているストリームを通常の復号処理よりもできるだけ高速に復号し、可能な限りバッファ189が空になる時間を短縮する。そしてバッファ189が空になった時点で、ワンセグ放送の通常の復号処理を行って、フルセグ放送の静止画からワンセグ放送の復号ストリームに切り替えて出力表示させる。   Next, when the digital broadcast receiver is switched to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting or the like in the state A, the digital broadcasting receiver shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. When the full-segment broadcasting is switched to the one-segment broadcasting, the one-segment decoder 18 decodes the stream stored in the buffer 189 from the first IDR picture, but discards it without displaying it. In state B, the screen immediately before the decoding of full-segment broadcasting cannot be performed is displayed as a still image. At the time of switching from state A to state B, the one-segment broadcasting processing system decodes the stream stored in the buffer 189 as fast as possible compared to the normal decoding process, and spends as much time as possible for the buffer 189 to be empty. Shorten. When the buffer 189 is emptied, normal one-segment broadcasting decoding processing is performed to switch from a full-segment broadcasting still image to a one-segment broadcasting decoding stream for output display.

つまり状態Bでは、その切り替わりの当初からバッファ189に保存しているIDRピクチャ以後のストリームを、バッファ189が空になるまでできるだけ高速に復号させるが、表示させずに廃棄する。その間は、フルセグ放送の復号不可直前の画面を静止画で表示させておく。ここでは切り替え時にワンセグ放送からIDRピクチャを探索する必要がなく、バッファ189に保存しているストリームの復号をただちに開始することができる。   That is, in the state B, the stream after the IDR picture stored in the buffer 189 from the beginning of the switching is decoded as fast as possible until the buffer 189 becomes empty, but is discarded without being displayed. In the meantime, the screen immediately before the decoding of full-segment broadcasting cannot be displayed as a still image. Here, it is not necessary to search for an IDR picture from the one-segment broadcasting at the time of switching, and the decoding of the stream stored in the buffer 189 can be started immediately.

ワンセグ放送を出力している状態(状態B)から、受信状態の改善により再度フルセグ放送の出力に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替えればよい。フルセグ放送は、ストリームのIピクチャから復号して表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送のストリームからIDRピクチャを検出し、次のIDRピクチャまでのストリームをバッファ189に保存する処理を繰り返していく。   When switching from the state where the one-segment broadcasting is being output (state B) to the output of the full-segment broadcasting again due to the improvement of the reception state, the state transitions to the state C. In state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full segment broadcasting can be decoded from the I picture of the stream and displayed. In the state C where the full segment broadcast is being output, the process of detecting the IDR picture from the one-segment broadcast stream and storing the stream up to the next IDR picture in the buffer 189 is repeated as in the state A.

本実施例の処理によれば、フルセグ放送を出力時には、ワンセグ放送の処理系では、パターン検出部181でIDRピクチャを検出し、バッファ189に保存する処理のみが実行されるので、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。   According to the processing of this embodiment, when full-segment broadcasting is output, in the processing system of one-segment broadcasting, only the processing of detecting the IDR picture by the pattern detection unit 181 and storing it in the buffer 189 is executed. The power consumption can be reduced compared with the decoding process.

図18及び図19は、本発明によるデジタル放送受信機の第5の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化していない場合には(ステップS111−No)、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS112)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS113)。IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行し、IDRピクチャの先頭が検出された場合には(ステップS113−Yes)、ワンセグデコーダ18では、パターン検出部181の内容をバッファ189に保存する(ステップS114)。パターン検出部181の内容とは、検出したIDRピクチャ以後に入力したストリームのデータである。
18 and 19 are flowcharts for explaining the flow of processing in the fifth embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of full-segment broadcasting has not deteriorated (step S111-No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder 18 (step S112), and the pattern detection unit 181 performs IDR. The beginning of the picture is detected (step S113). If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. If the head of the IDR picture is detected (Yes in step S113), the one-segment decoder 18 uses the contents of the pattern detection unit 181. Is stored in the buffer 189 (step S114). The content of the pattern detection unit 181 is stream data input after the detected IDR picture.

そして、この状態でフルセグ放送の受信品質が悪化していなければ(ステップS115−No)、パターン検出部181に対するワンセグ放送のストリームのデータ入力を行う(ステップS116)。そしてIDRピクチャの先頭が検出されると(ステップS117−Yes)、バッファ189をクリアし(ステップS118)、パターン検出部181の内容をバッファに保存する(ステップS114)。   If the reception quality of full-segment broadcasting has not deteriorated in this state (No in step S115), the data input of the one-segment broadcasting stream is input to the pattern detection unit 181 (step S116). When the head of the IDR picture is detected (step S117—Yes), the buffer 189 is cleared (step S118), and the contents of the pattern detection unit 181 are stored in the buffer (step S114).

一方、上記ステップS111、もしくはステップS115でフルセグ放送の受信品質が悪化した場合には、フルセグ放送の受信品質が回復していないことを確認し(ステップS119−No)、ワンセグデコーダ18のバッファ189からストリームのデータを読み出す(ステップS120)。フルセグ放送の受信品質が回復していればステップS111に戻る。
ワンセグデコーダ18では、ステップS120でストリームのデータを読み出した後、通常の復号よりも高速の復号を行って、バッファ189をできるだけ早く空にする処理を行う(ステップS121)。そしてバッファ189が空になっているか否かを判別し(ステップS122)、空になっていなければ、高速復号を継続する。
On the other hand, when the reception quality of the full segment broadcasting is deteriorated in the above step S111 or step S115, it is confirmed that the reception quality of the full segment broadcasting is not recovered (step S119-No), and the buffer of the one seg decoder 18 is checked. The stream data is read (step S120). If the reception quality of full-segment broadcasting has been recovered, the process returns to step S111.
The one-segment decoder 18 reads the stream data in step S120, and then performs a process of emptying the buffer 189 as soon as possible by performing a higher-speed decoding than the normal decoding (step S121). Then, it is determined whether or not the buffer 189 is empty (step S122), and if it is not empty, high-speed decoding is continued.

ステップS122でバッファ189が空になった場合には、ワンセグ放送の通常の復号表示に移行する。すなわち、まずフルセグ放送の受信品質が回復していないことを確認し(ステップS123−No)、ワンセグデコーダ18にデータを入力し(ステップS124)、ワンセグデコーダ18の可変長復号部182で可変長復号を行い(ステップS125)、逆量子化部183で逆量子化を行い(ステップS126)、逆DCT変換部184で逆DCT変換を行う(ステップS127)。次にフレーム間予測であれば(ステップS128−Yes)、動き補償処理を行い(ステップS129)、デブブロッキングフィルタ処理を行う(ステップS130)。また、フレーム間予測でなければ(ステップS128−No)、そのままデブロッキングフィルタ処理を行う(ステップS130)。そして、デブロッキングフィルタ処理を行ったデータを表示させる(ステップS131)。
また、上記ステップS119、またはS123でフルセグ放送の受信品質が回復していれば、ステップS111に戻って、ワンセグ放送のIDRピクチャ間のストリームをバッファ189に保存する処理を開始する。
If the buffer 189 is emptied in step S122, the routine proceeds to normal decoding display of one-segment broadcasting. That is, first, it is confirmed that the reception quality of full segment broadcasting has not recovered (step S123-No), data is input to the one segment decoder 18 (step S124), and variable length decoding is performed by the variable length decoding unit 182 of the one segment decoder 18. (Step S125), the inverse quantization unit 183 performs inverse quantization (step S126), and the inverse DCT transform unit 184 performs inverse DCT transform (step S127). Next, if it is inter-frame prediction (step S128-Yes), a motion compensation process is performed (step S129), and a deblocking filter process is performed (step S130). If the prediction is not inter-frame prediction (No in step S128), the deblocking filter process is performed as it is (step S130). And the data which performed the deblocking filter process are displayed (step S131).
If the reception quality of full-segment broadcasting has been recovered in step S119 or S123, the process returns to step S111, and processing for storing the stream between IDR pictures of one-segment broadcasting in the buffer 189 is started.

図20は、本発明によるデジタル放送受信機の第5の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)、フルセグデコーダ17が動作している。またワンセグ放送の処理系では、パターン検出部181及びバッファ189が動作し、他の部分、すなわち可変長復号部(VLD)181、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、動き補償部(MC)188、及びフレームメモリ187は動作していない。   FIG. 20 is a diagram showing an example of control timing of the decoder unit in the fifth embodiment of the digital broadcast receiver according to the present invention. First, when a full-segment broadcast stream is decoded and output under the control of the tuner (state A), the full-segment decoder 17 is operating. In the one-segment broadcasting processing system, the pattern detection unit 181 and the buffer 189 operate, and other parts, that is, a variable length decoding unit (VLD) 181, an inverse quantization unit (IQ) 183, and an inverse DCT conversion unit (IDCT) 184. The deblocking filter (DF) 186, the motion compensation unit (MC) 188, and the frame memory 187 are not operating.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は停止する。このときに、フルセグデコーダ17の停止直前の復号画像が、デジタル放送受信機の表示部に静止画として表示される。
また、ワンセグ放送の処理系では、パターン検出部181、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187が動作する。そして、バッファ189は、状態Aのときに保存したストリームのデータが空になるまでは動作し、その後動作は停止する。なお、高速復号期間における復号処理は、バッファ189をできるだけ早く空にするために行われるもので、その復号方法に応じて、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187の少なくとも一部を使用しないものであってもよい。
When the reception state of the full segment broadcast deteriorates and the output is switched from the full segment broadcast to the one segment broadcast (state B), the operation of the full segment decoder 17 is stopped. At this time, the decoded image immediately before the stop of the full segment decoder 17 is displayed as a still image on the display unit of the digital broadcast receiver.
In the one-seg broadcast processing system, the pattern detection unit 181, variable length decoding unit 182, inverse quantization unit 183, inverse DCT conversion unit 184, deblocking filter 186, motion compensation unit 188, and frame memory 187 operate. The buffer 189 operates until the stream data stored in the state A becomes empty, and then the operation stops. Note that the decoding process in the high-speed decoding period is performed in order to empty the buffer 189 as soon as possible. Depending on the decoding method, the variable-length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, The deblocking filter 186, the motion compensation unit 188, and the frame memory 187 may not be used at least in part.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17、及びワンセグ放送の処理系のパターン検出部181とバッファ189が動作し、他の部分、すなわち、ワンセグ放送の処理系の可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187が動作しない。   When the reception state of the full-segment broadcast is improved again and the one-segment broadcast returns to the full-segment broadcast (state C), the full-segment decoder 17 and the pattern detection unit 181 and the buffer 189 of the one-segment broadcast processing system are the same as in the state A. The other parts, that is, the variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, the motion compensation unit 188, and the frame memory 187 do not operate. .

(第6の実施例)
図21は、本発明によるデジタル放送受信機の第6の実施例の動作を説明するための図である。フルセグ放送とワンセグ放送との切換を行うデジタル放送受信機において、本発明に係る第6の実施例では、フルセグ放送を復号して出力しているときには、ワンセグ放送の処理系では処理を行わず、パターン検出部181も動作しない。ワンセグTSデコーダから出力されるESは、そのまま廃棄している。そしてフルセグ放送からワンセグ放送に切り替える際に、ワンセグ放送の処理系のパターン検出部181が動作し、受信ストリームからIDRピクチャを検出したときに、そのIDRピクチャから復号を行ってワンセグ放送の復号ストリームの表示に切り替える。ワンセグ放送の表示に切り替えられるまでは、エラーの有無に関わらず、フルセグ放送を表示させる処理を継続する。従って本実施例では、ワンセグ処理系のバッファ189は必要がなく、従来のワンセグデコーダの構成を利用して本実施例の処理を実行できる。
(Sixth embodiment)
FIG. 21 is a diagram for explaining the operation of the sixth embodiment of the digital broadcast receiver according to the present invention. In the digital broadcast receiver that switches between full-segment broadcasting and one-segment broadcasting, in the sixth embodiment according to the present invention, when the full-segment broadcasting is decoded and output, the processing system of the one-segment broadcasting does not perform processing. The pattern detection unit 181 also does not operate. The ES output from the one-segment TS decoder is discarded as it is. Then, when switching from full segment broadcasting to one segment broadcasting, the pattern detection unit 181 of the processing system of the one segment broadcasting operates, and when an IDR picture is detected from the received stream, decoding is performed from the IDR picture and the decoding stream of the one segment broadcasting is detected. Switch to display. Until the display is switched to the one-segment broadcasting display, the process of displaying the full-segment broadcasting is continued regardless of whether there is an error. Therefore, in the present embodiment, the one-segment processing system buffer 189 is not necessary, and the processing of the present embodiment can be executed using the configuration of the conventional one-segment decoder.

例えば、図21の状態Aにてフルセグ放送を復号して出力させているものとする。この状態Aでは、ワンセグ放送の処理系ではストリームの蓄積処理や復号処理は行われず、パターン検出部181の動作も停止している。   For example, it is assumed that full segment broadcasting is decoded and output in the state A of FIG. In this state A, stream accumulation processing and decoding processing are not performed in the one-segment broadcasting processing system, and the operation of the pattern detection unit 181 is also stopped.

次に、デジタル放送受信機は、状態Aでフルセグ放送の受信品質の劣化等によりワンセグ放送の出力に切り替えた場合には、状態Bに移行する。フルセグ放送の受信品質が劣化した場合には、フルセグ放送の復号は不可となる。しかしながら、受信品質の劣化が判定され、フルセグ放送からワンセグ放送に切り替えるべきタイミングがすぎても、フルセグ放送の出力を継続する。この場合、復号画像のエラーの有無に関わらずフルセグ放送の出力処理を行う。   Next, when the digital broadcast receiver is switched to the output of the one-segment broadcasting due to the deterioration of the reception quality of the full-segment broadcasting or the like in the state A, the digital broadcasting receiver shifts to the state B. When the reception quality of the full segment broadcast is deteriorated, the full segment broadcast cannot be decoded. However, even if it is determined that the reception quality has deteriorated and the timing for switching from full-segment broadcasting to one-segment broadcasting has passed, output of full-segment broadcasting is continued. In this case, full segment broadcast output processing is performed regardless of whether there is an error in the decoded image.

そして、フルセグ放送の受信品質の劣化が判定されると、ワンセグ放送の処理系では、パターン検出部181が動作し、入力するワンセグ放送のストリームからIDRピクチャを検出する。そしてストリームからIDRピクチャが検出されると、そのIDRからピクチャから通常の復号を開始し、表示されているフルセグ放送から復号されたワンセグ放送のストリームに切り替えて表示させる。ここでは切り替え時にワンセグ放送からIDRピクチャを探索する必要がなく、ワンセグ放送の入力ストリームからIDRピクチャが検出された時点から復号を開始し、それまではフルセグ放送を表示させておくことで、できるだけ違和感のない表示を行わせることができる。   When it is determined that reception quality of the full-segment broadcasting is deteriorated, the pattern detection unit 181 operates in the one-segment broadcasting processing system to detect an IDR picture from the input one-segment broadcasting stream. When an IDR picture is detected from the stream, normal decoding is started from the picture from the IDR, and the stream is switched from the displayed full-segment broadcast to the one-segment broadcast stream. Here, it is not necessary to search for an IDR picture from the one-segment broadcasting at the time of switching, and decoding is started from the point in time when the IDR picture is detected from the input stream of the one-segment broadcasting. It is possible to make the display without.

ワンセグ放送を出力している状態(状態B)から、受信状態の改善により再度フルセグ放送の出力に切り替える場合、状態Cに移行する。状態Cでは、フルセグ放送のストリームの復号を行って、出力可能となったところでワンセグ放送からフルセグ放送に切り替えればよい。フルセグ放送は、ストリームのIピクチャから復号して表示させることができる。フルセグ放送が出力されている状態Cでは、状態Aと同様に、ワンセグ放送ではパターン検出部181を含む復号処理が停止する。   When switching from the state where the one-segment broadcasting is being output (state B) to the output of the full-segment broadcasting again due to the improvement of the reception state, the state transitions to the state C. In state C, the full-segment broadcasting stream is decoded, and when the output becomes possible, the one-segment broadcasting is switched to the full-segment broadcasting. Full segment broadcasting can be decoded from the I picture of the stream and displayed. In the state C in which the full segment broadcasting is being output, the decoding process including the pattern detection unit 181 is stopped in the one segment broadcasting as in the state A.

本実施例の処理によれば、フルセグ放送を出力時には、ワンセグ放送の処理系では動作が停止されるので、ワンセグ放送の通常の復号処理と比較して消費電力を削減させることができる。   According to the processing of this embodiment, when full-segment broadcasting is output, the operation is stopped in the processing system of one-segment broadcasting, so that power consumption can be reduced compared to normal decoding processing of one-segment broadcasting.

図22は、本発明によるデジタル放送受信機の第6の実施例における処理の流れを説明するためのフローチャートである。
デジタル放送受信機1では、フルセグ放送を受信中にその受信品質を監視している。そしてフルセグ放送の受信品質が悪化した場合には(ステップS141−No)、ワンセグデコーダ18のパターン検出部181に符号化ストリームのデータを入力し(ステップS142)、パターン検出部181にてIDRピクチャの先頭を検出する(ステップS143)。IDRピクチャの先頭が検出されなければ、パターン検出部181に対するデータ入力を続行する。IDRピクチャの先頭が検出された場合には(ステップS143−Yes)、ワンセグデコーダ18の可変長復号部182で可変長復号を行い(ステップS144)、逆量子化部183で逆量子化を行い(ステップS145)、逆DCT変換部184で逆DCT変換を行う(ステップS146)。次にフレーム間予測であれば(ステップS147−Yes)、動き補償処理を行い(ステップS148)、デブブロッキングフィルタ処理を行う(ステップS149)。また、フレーム間予測でなければ(ステップS147−No)、そのままデブロッキングフィルタ処理を行う(ステップS149)。そして、デブロッキングフィルタ処理を行ったデータを表示させる(ステップS150)。
FIG. 22 is a flowchart for explaining the flow of processing in the sixth embodiment of the digital broadcast receiver according to the present invention.
The digital broadcast receiver 1 monitors the reception quality while receiving full-segment broadcasting. If the reception quality of full-segment broadcasting deteriorates (step S141—No), the encoded stream data is input to the pattern detection unit 181 of the one-seg decoder 18 (step S142), and the pattern detection unit 181 inputs the IDR picture. The head is detected (step S143). If the head of the IDR picture is not detected, data input to the pattern detection unit 181 is continued. When the head of the IDR picture is detected (step S143-Yes), the variable length decoding unit 182 of the one-segment decoder 18 performs variable length decoding (step S144), and the inverse quantization unit 183 performs inverse quantization ( In step S145), the inverse DCT transform unit 184 performs inverse DCT transform (step S146). Next, if it is inter-frame prediction (step S147-Yes), motion compensation processing is performed (step S148), and deblocking filter processing is performed (step S149). If it is not inter-frame prediction (step S147-No), the deblocking filter process is performed as it is (step S149). And the data which performed the deblocking filter process are displayed (step S150).

そして、フルセグ放送受信品質が回復していなければ(ステップS151−No)、さらにパターン検出部181にデータ入力を行い(ステップS152)、ステップS144に続く復号・表示処理を続行する。また、ステップS151でフルセグ放送の受信品質が回復していればそのまま待機し(ステップS141)、フルセグ放送の受信品質が悪化したときにワンセグ処理系の処理を再開する。   If the full-seg broadcast reception quality has not recovered (step S151-No), data is further input to the pattern detection unit 181 (step S152), and the decoding / display processing following step S144 is continued. Also, if the reception quality of full-segment broadcasting is recovered in step S151, the process waits as it is (step S141), and the processing of the one-segment processing system is resumed when the reception quality of full-segment broadcasting deteriorates.

図23は、本発明によるデジタル放送受信機の第6の実施例におけるデコーダ部の制御タイミングの例を示す図である。まずチューナからの制御によってフルセグ放送のストリームが復号されて出力されている場合(状態A)、フルセグデコーダ17が動作している。またワンセグ放送の処理系では、パターン検出部181、可変長復号部(VLD)181、逆量子化部(IQ)183、逆DCT変換部(IDCT)184、デブロッキングフィルタ(DF)186、動き補償部(MC)188、及びフレームメモリ187が動作していない。   FIG. 23 is a diagram showing an example of control timing of the decoder unit in the sixth embodiment of the digital broadcast receiver according to the present invention. First, when a full-segment broadcast stream is decoded and output under the control of the tuner (state A), the full-segment decoder 17 is operating. In the processing system of the one-segment broadcasting, a pattern detection unit 181, a variable length decoding unit (VLD) 181, an inverse quantization unit (IQ) 183, an inverse DCT conversion unit (IDCT) 184, a deblocking filter (DF) 186, motion compensation The unit (MC) 188 and the frame memory 187 are not operating.

フルセグ放送の受信状態が悪化してフルセグ放送からワンセグ放送に出力が切り替えられた場合(状態B)、フルセグデコーダ17の動作は継続し、復号のエラーの有無に関わらず復号処理を継続させフルセグ放送の表示を行わせる。
また、ワンセグ放送の処理系では、状態Bへの切り替え時にパターン検出部181が動作し、IDRピクチャが検出されると、それ以後のワンセグ放送のストリームの復号が行われる。即ち、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187が動作する。ワンセグ放送の復号が開始されれば、フルセグデコーダ17は停止させることができる。
When the reception status of full-segment broadcasting deteriorates and the output is switched from full-segment broadcasting to one-segment broadcasting (state B), the operation of full-segment decoder 17 continues and the decoding process is continued regardless of whether there is a decoding error or not. To display.
Also, in the one-seg broadcast processing system, when the pattern detection unit 181 operates when switching to the state B and an IDR picture is detected, the subsequent one-seg broadcast stream is decoded. That is, the variable length decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, the motion compensation unit 188, and the frame memory 187 operate. If the decoding of the one-segment broadcasting is started, the full-segment decoder 17 can be stopped.

そしてフルセグ放送の受信状態が再度良好となってワンセグ放送からフルセグ放送に復帰する場合(状態C)、状態Aと同様にフルセグデコーダ17が動作し、ワンセグ放送の処理系のパターン検出部181、可変長復号部182、逆量子化部183、逆DCT変換部184、デブロッキングフィルタ186、動き補償部188、及びフレームメモリ187の動作が停止する。   When the reception status of the full-segment broadcasting is improved again and the one-segment broadcasting returns to the full-segment broadcasting (state C), the full-segment decoder 17 operates in the same manner as in the state A, and the one-segment broadcasting processing system pattern detection unit 181 is variable. The operations of the long decoding unit 182, the inverse quantization unit 183, the inverse DCT conversion unit 184, the deblocking filter 186, the motion compensation unit 188, and the frame memory 187 are stopped.

図24は、本発明に係るデジタル放送受信機において、H.264/AVCに基づくIDRピクチャの先頭を検出するときの処理の一例を説明するためのフローチャートである。本処理例は、上記実施例1〜6の各例に適用することができる。
上述したように、ワンセグ放送の画像符号化方式としてH.264/AVCが用いられている。H.264/AVCでは、単独で復号可能なキーフレームとしてIDRピクチャが用いられる。ワンセグデコーダ18のパターン検出部181では、IDRピクチャの検出を以下の処理例に従って行っている。
FIG. 24 shows a digital broadcasting receiver according to the present invention. 3 is a flowchart for explaining an example of processing when detecting the head of an IDR picture based on H.264 / AVC. This processing example can be applied to each example of the first to sixth embodiments.
As described above, H.264 is an image encoding method for one-segment broadcasting. H.264 / AVC is used. H. In H.264 / AVC, an IDR picture is used as a key frame that can be decoded independently. The pattern detection unit 181 of the one-segment decoder 18 performs IDR picture detection according to the following processing example.

ワンセグデコーダ18のパターン検出部181では、入力するワンセグ放送のストリームのTSヘッダを解析する(ステップS161)。そしてTS内のペイロードの先頭がPES(Packetized Elementally Stream)ヘッダ0x000001か否かを判別する(ステップS162)。ここでペイロードの先頭が上記のPESヘッダに該当すれば、PESペイロード(ES(Elementally Stream))の先頭位置を検出する(ステップS163)。   The pattern detection unit 181 of the one-segment decoder 18 analyzes the TS header of the input one-segment broadcast stream (step S161). Then, it is determined whether or not the beginning of the payload in the TS is a PES (Packetized Elementally Stream) header 0x000001 (step S162). If the beginning of the payload corresponds to the PES header, the beginning position of the PES payload (ES (Elementally Stream)) is detected (step S163).

次に、PESペイロードの先頭から調べて、NAL(Network Abstraction Layer)ユニットスタートコード0x000001が含まれているか否かを判定する(ステップS164)。ここでPESペイロードに上記のスタートコードが含まれていれば、次にnal unit typeがAU(Access Unit Delimiter)デリミタか否か判定する(ステップS165)。つまり、NALスタートコードの次のバイトのLSB5ビット(MSB FIRST)がAUの識別子9であるか否かを判定する。   Next, it is determined from the head of the PES payload whether or not a NAL (Network Abstraction Layer) unit start code 0x000001 is included (step S164). If the start code is included in the PES payload, it is next determined whether or not the nal unit type is an AU (Access Unit Delimiter) delimiter (step S165). That is, it is determined whether or not the LSB 5 bit (MSB FIRST) of the byte next to the NAL start code is the AU identifier 9.

nal unit typeがAUデリミタであれば、primary pic type=0であるか否かを判定する(ステップS166)。つまり、NALスタートコードの次の次のバイトの上2ビット(MSB FIRST)が0であるか否かを判定する。ここで、primary pic type=0であれば、IDRピクチャの先頭であることが判定できる(ステップS167)。
また、上記ステップS162,S164,S165,S166のいずれかで否であれば、IDRピクチャの先頭ではないことが判定できる(ステップS168)。
If nal unit type is the AU delimiter, it is determined whether primary pic type = 0 (step S166). That is, it is determined whether or not the upper 2 bits (MSB FIRST) of the next byte next to the NAL start code are 0. Here, if primary pic type = 0, it can be determined that it is the head of the IDR picture (step S167).
If the answer is NO in any of steps S162, S164, S165, and S166, it can be determined that the head is not the head of the IDR picture (step S168).

上記の各実施例では、フルセグ放送とワンセグ放送との放送サービスがサイマル放送によって提供されている例を説明したが、各実施例の動作は、サイマル放送に限ることなく、フルセグ放送とワンセグ放送との番組が異なる場合であっても適用することができる。この場合には、ユーザは、切替先の放送内容を早期に確認でき、さらなるチャンネル切り替えの要否を早期に判断することができる。   In each of the above-described embodiments, an example has been described in which broadcasting services for full-segment broadcasting and one-segment broadcasting are provided by simultaneous broadcasting. However, the operation of each embodiment is not limited to simultaneous broadcasting, and full-segment broadcasting, one-segment broadcasting, Even if the program is different, it can be applied. In this case, the user can confirm the broadcast content of the switching destination at an early stage, and can determine at an early stage whether further channel switching is necessary.

また、上記の各実施例は、フルセグ放送とワンセグ放送との切り替えのみならず、ワンセグ(もしくはフルセグ)放送の受信機能と、Eメール等のアプリケーションが動作する機能との切り替え動作に対しても適用することができる。例えば、ワンセグ放送の視聴中に一端Eメール等のアプリケーションの動作画面に切り替えた後、再度ワンセグ放送の視聴に復帰させるとき、アプリケーションの動作画面の表示中にワンセグ放送の復号系を停止させてしまうと、省電力効果が得られるものの、ワンセグ放送への速やかな復帰ができなくなる。これに対して本発明の実施例の動作を適用することで、Eメール等のアプリケーションの動作画面を表示中に、ワンセグ放送(もしくはフルセグ放送)のキーフレーム間の符号化ストリームをバッファに保存し(実施例1,4,5)、もしくはキーフレームをバッファに保存し(実施例2)、もしくはキーフレームの復号データをフレームメモリに保存することで(実施例3)、アプリケーションの動作画面からワンセグ放送(もしくはフルセグ放送)への切り替え時にこれらの保存データを用いてただちに切り替え表示させることができる。   In addition, each of the above embodiments is applicable not only to switching between full-segment broadcasting and one-segment broadcasting, but also to switching operation between a reception function of one-segment (or full-segment) broadcasting and a function for operating an application such as e-mail. can do. For example, when switching to the operation screen of an application such as e-mail while watching 1Seg broadcast, when returning to viewing of 1Seg broadcast again, the decoding system of 1Seg broadcast is stopped while the application operation screen is displayed. However, although a power saving effect is obtained, it is impossible to quickly return to one-segment broadcasting. On the other hand, by applying the operation of the embodiment of the present invention, while displaying an operation screen of an application such as e-mail, an encoded stream between key frames of one-segment broadcasting (or full-segment broadcasting) is stored in a buffer. (Embodiments 1, 4 and 5) Alternatively, key frames are saved in a buffer (Embodiment 2), or decoded data of key frames is saved in a frame memory (Embodiment 3). When switching to broadcasting (or full segment broadcasting), it is possible to immediately switch and display using these stored data.

また、上記の各実施例は、フルセグ(12セグメント)とワンセグ(1セグメント)の放送サービスとの切り替えのみならず、4セグメントを用いたSD放送の切り替えに適用することもできる。例えば、4セグメントのSD放送を2〜3番組同時に放送しているときに、そのいずれかのSD放送を出力しているときに、ワンセグ放送に切り替える場合に、上記の各実施例の処理を実行することができる。また、ワンセグ放送から、SD放送に切り替える場合にも同様である。   In addition, each of the above embodiments can be applied not only to switching between full-segment (12 segments) and one-segment (1-segment) broadcasting services, but also to switching SD broadcasting using four segments. For example, when a 4-segment SD broadcast is being broadcast at the same time and one of the SD broadcasts is being output, the processing of each of the above embodiments is executed when switching to one-segment broadcasting. can do. The same applies when switching from one-segment broadcasting to SD broadcasting.

また、ワンセグチューナを2つ備えたデジタル放送受信機や、フルセグチューナを2つ備えたデジタル放送受信機において、ワンセグ放送サービス同士の切り替え動作時や、フルセグ放送サービスの切り替え動作時に対しても上記の各実施例の動作を適用することができる。これらの場合には、主にユーザ操作よって放送番組が切り替えられる。このときデジタル放送受信機では、出力されていない放送サービスの番組のキーフレーム、もしくはキーフレーム間のストリームをバッファやフレームメモリに保存しておき、主にユーザ操作によって番組が切り替えられたときに、バッファやフレームメモリに保存したデータを使用して速やかに切り替えを行う。   Also, in a digital broadcast receiver equipped with two one-segment tuners and a digital broadcast receiver equipped with two full-segment tuners, the above-mentioned operation is also performed when switching between one-segment broadcast services or when switching between full-segment broadcast services. The operation of each embodiment can be applied. In these cases, broadcast programs are switched mainly by user operations. At this time, the digital broadcast receiver stores the key frame of the broadcast service program that is not output, or the stream between the key frames in a buffer or frame memory, and when the program is switched mainly by a user operation, Switch quickly using data stored in the buffer or frame memory.

また、このような場合に、出力していない放送番組のチャンネルを予め定めておくようにしてもよいが、切り替え後のチャンネルを予測してそのチャンネルの放送番組について、キーフレームやキーフレーム間のストリームをバッファやフレームメモリに保存させる処理を行うようにしてもよい。切り替え後のチャンネルの予測の方法の一例として、デジタル放送受信機にて、ユーザによる直前のチャンネル選択の傾向を記憶しておき、その傾向に従って次の切り替え候補となるチャンネルを予測してもよい。例えば、チャンネル選択をトグルによって実行する場合、ユーザによる過去のチャンネル選択が昇順で行われた場合、現在のチャンネルに対して昇順に次のチャンネルを切り替え候補として推測し、そのチャンネルの放送番組について、キーフレームやキーフレーム間のストリームをバッファやフレームメモリに保存させる処理を行う。ユーザの過去のチャンネル選択が降順である場合にも同様に予測できる。   In such a case, the channel of the broadcast program that is not output may be determined in advance. However, the channel after switching is predicted, and the broadcast program of the channel is changed between key frames and key frames. You may make it perform the process which preserve | saves a stream to a buffer or a frame memory. As an example of a channel prediction method after switching, a digital broadcast receiver may store a channel selection tendency immediately before by a user and predict a channel as a next switching candidate according to the trend. For example, when performing channel selection by toggle, if the past channel selection by the user was performed in ascending order, the next channel is estimated as a switching candidate in ascending order with respect to the current channel, and for the broadcast program of that channel, Performs processing to save keyframes and streams between keyframes in a buffer or frame memory. A similar prediction can be made when the user's past channel selection is in descending order.

また、フルセグ放送とワンセグ放送とを切り替えて出力可能な上記実施形態のデジタル放送受信機において、フルセグ放送のストリームに遅延を持たせてワンセグ放送と見た目の同期をとるようにしてもよい。
フルセグ放送とワンセグ放送では、同じ番組を放送している場合であっても、デジタル放送受信機では、通常ワンセグ放送の方がフルセグ放送より遅れて映像表示が行われる。これは、放送波そのものにおいてもワンセグ放送の方が遅れて送信され、さらにワンセグデコーダにおける復号遅れも要因となってワンセグ放送の映像表示が時間的に遅延する。この遅延時間は一概には言えないが、例えば、フルセグ放送とワンセグ放送をテレビで同時に見ているとき、ワンセグ放送の方が2秒程度遅れて表示される。
In addition, in the digital broadcast receiver of the above-described embodiment capable of switching between full-segment broadcasting and one-segment broadcasting and outputting the same, it may be possible to synchronize the appearance with the one-segment broadcasting by giving a delay to the full-segment broadcasting stream.
In full-segment broadcasting and one-segment broadcasting, even when the same program is being broadcast, the digital broadcasting receiver displays video images later than full-segment broadcasting in normal one-segment broadcasting. This is because the one-seg broadcast is transmitted later in the broadcast wave itself, and the video display of the one-seg broadcast is delayed in time due to the decoding delay in the one-seg decoder. Although this delay time cannot be generally described, for example, when watching full-segment broadcasting and one-segment broadcasting simultaneously on a television, one-segment broadcasting is displayed with a delay of about 2 seconds.

上記のような時間的な遅延を解消するために、デジタル放送受信機内にバッファを設けフルセグ放送のストリームを例えば2秒程度遅延させることで、フルセグ放送とワンセグ放送との時間的遅延を解消し、フルセグ放送とワンセグ放送との出力を切り替えたときに、より違和感のない切り替えを行うことができる。
つまり、デジタル放送受信機に、複数セグメント放送信号の出力を所定時間遅延させる手段を設けることで、同一番組を放送しているときに出力までの時間差が生じる複数セグメント放送とワンセグメント放送との出力の時間差をなくすようにすることができる。
In order to eliminate the time delay as described above, a buffer is provided in the digital broadcast receiver to delay the full-segment broadcast stream, for example, by about 2 seconds, thereby eliminating the time delay between the full-segment broadcast and the one-segment broadcast, When the output of full-segment broadcasting and one-segment broadcasting is switched, switching without a sense of incongruity can be performed.
In other words, by providing the digital broadcast receiver with means for delaying the output of the multi-segment broadcast signal for a predetermined time, the output of the multi-segment broadcast and the one-segment broadcast in which a time difference until the output occurs when the same program is being broadcast The time difference can be eliminated.

1…デジタル放送受信機、10…アンテナ、11…フルセグチューナ、12…ワンセグチューナ、13…フルセグOFDM復調部、14…ワンセグOFDM復調部、15…フルセグTSデコーダ、16…ワンセグTSデコーダ、17…フルセグデコーダ、18…ワンセグデコーダ、19…映像切替部、20…表示部、21…制御部、22…操作入力部、100…携帯電話、101…表示部、102…キー入力部、171…可変長復号部、172…逆量子化部、173…逆DCT部、174…加算部、175…動き補償部、176…フレームメモリ、181…パターン検出部、182…可変長復号部、183…逆量子化部、184…逆DCT変換部、185…加算部、186…デブロッキングフィルタ、187…フレームメモリ、188…動き補償部、189…バッファ。 DESCRIPTION OF SYMBOLS 1 ... Digital broadcast receiver, 10 ... Antenna, 11 ... Full segment tuner, 12 ... One segment tuner, 13 ... Full segment OFDM demodulator, 14 ... One segment OFDM demodulator, 15 ... Full segment TS decoder, 16 ... One segment TS decoder, 17 ... Full segment Decoder, 18 ... One-segment decoder, 19 ... Video switching unit, 20 ... Display unit, 21 ... Control unit, 22 ... Operation input unit, 100 ... Mobile phone, 101 ... Display unit, 102 ... Key input unit, 171 ... Variable length decoding 172 ... inverse quantization unit, 173 ... inverse DCT unit, 174 ... addition unit, 175 ... motion compensation unit, 176 ... frame memory, 181 ... pattern detection unit, 182 ... variable length decoding unit, 183 ... inverse quantization unit 184: Inverse DCT transform unit, 185 ... Adder unit, 186 ... Deblocking filter, 187 ... Frame memory, 188 ... Motion償部, 189 ... buffer.

Claims (12)

デジタル放送信号を受信して復号する手段と、前記復号したデジタル放送信号を含む少なくとも複数種類の画像ソースのいずれかを選択して出力する手段とを備えたデジタル放送受信機において、
前記複数種類の画像ソースのいずれかを選択して出力しているときに、受信したデジタル放送信号であって、出力対象として選択されていない前記デジタル放送信号のストリームから、単独で復号可能なキーフレームを検出して保存する手段を有し、
前記出力対象の選択が、前記デジタル放送信号に切り替えられたときに、前記保存したキーフレームを使用して出力を行うことを特徴とするデジタル放送受信機。
In a digital broadcast receiver comprising: means for receiving and decoding a digital broadcast signal; and means for selecting and outputting at least one of a plurality of types of image sources including the decoded digital broadcast signal.
A key that can be independently decoded from the stream of digital broadcast signals that are received and not selected as an output target when one of the plurality of types of image sources is selected and output. Means for detecting and storing the frame;
A digital broadcast receiver characterized in that, when selection of the output target is switched to the digital broadcast signal, output is performed using the stored key frame.
請求項1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、入力した前記デジタル放送信号のストリームから前記キーフレームを検出するキーフレーム検出部と、
該キーフレーム検出部が検出したキーフレームを時間的に最新のキーフレームに更新しながら復号して保存するフレームメモリとを有し、
前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記フレームメモリに保存した復号されたキーフレームを読み出して出力し、
該出力中に、選択されたデジタル放送信号から次のキーフレームが検出された場合には、該次のキーフレームからのストリームを復号して出力することを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 1, wherein
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
The decoding unit includes a key frame detection unit that detects the key frame from the stream of the input digital broadcast signal;
A frame memory for decoding and storing the key frame detected by the key frame detection unit while updating to the latest key frame in time,
When the selection of the output target is switched to the digital broadcast signal, the decoded key frame stored in the frame memory is read and output,
A digital broadcast receiver characterized in that, when the next key frame is detected from the selected digital broadcast signal during the output, the stream from the next key frame is decoded and output.
請求項1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、前記デジタル放送信号のストリームから前記キーフレームを検出するキーフレーム検出部と、該キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、
前記デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態で前記バッファに保存し、かつ、該バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、
前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記バッファに保存したキーフレームを含むストリームを読み出して、復号して出力することを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 1, wherein
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
The decoding unit includes a key frame detection unit that detects the key frame from the stream of the digital broadcast signal, and a buffer that stores a stream including the key frame detected by the key frame detection unit in an undecoded state. And
The stream from the key frame detected from the stream of the digital broadcast signal to the stream immediately before the next key frame detected in time is stored in the buffer without being decoded, and the stream stored in the buffer is always Update it to be a stream up to just before the latest keyframe,
A digital broadcast receiver characterized in that when the selection of the output target is switched to the digital broadcast signal, a stream including a key frame stored in the buffer is read, decoded, and output.
請求項1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、前記デジタル放送信号のストリームから前記キーフレームを検出するキーフレーム検出部と、該キーフレーム検出部が検出したキーフレームを最新のキーフレームに更新しながら復号していない状態で保存するバッファとを有し、
前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記バッファに保存したキーフレームを読み出して復号して出力し、該出力中に、選択されたデジタル放送信号から次のキーフレームが検出された場合には、該次のキーフレームを復号して出力することを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 1, wherein
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
The decoding unit stores a key frame detection unit that detects the key frame from the stream of the digital broadcast signal, and updates the key frame detected by the key frame detection unit to the latest key frame without decoding. And a buffer to
When the selection of the output target is switched to the digital broadcast signal, the key frame stored in the buffer is read out and decoded, and the next key frame is selected from the selected digital broadcast signal during the output. A digital broadcast receiver, wherein if detected, the next key frame is decoded and output.
請求項1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、前記デジタル放送信号のストリームから前記キーフレームを検出するキーフレーム検出部と、該キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、前記デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態で前記バッファに保存し、かつ、該バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、
前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記バッファに保存したキーフレームを含むストリームを読み出して、早送りしながら復号して出力し、前記バッファが空になった後、選択されたデジタル放送信号のストリームを復号して出力することを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 1, wherein
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
The decoding unit includes a key frame detection unit that detects the key frame from the stream of the digital broadcast signal, and a buffer that stores a stream including the key frame detected by the key frame detection unit in an undecoded state. The stream from the key frame detected from the digital broadcast signal stream to the time immediately before the next key frame detected in time is stored in the buffer in a state where it is not decoded, and the stream is stored in the buffer. Is always updated to the stream immediately before the latest keyframe,
When the selection of the output target is switched to the digital broadcast signal, the stream including the key frame stored in the buffer is read out, decoded and output while fast-forwarding, and the selection is made after the buffer becomes empty A digital broadcast receiver that decodes and outputs a stream of the digital broadcast signal.
請求項1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、前記デジタル放送信号のストリームから前記キーフレームを検出するキーフレーム検出部と、該キーフレーム検出部が検出したキーフレームを含むストリームを復号していない状態で保存するバッファとを有し、前記デジタル放送信号のストリームから検出したキーフレームから、時間的に次に検出したキーフレームの直前までのストリームを復号していない状態で前記バッファに保存し、かつ、該バッファに保存するストリームが常に最新のキーフレームの直前までのストリームとなるように更新し、
前記復号部は、前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記バッファに保存したキーフレームを含むストリームを読み出して、前記復号部が通常出力時に行う復号よりも高速の復号処理を行って廃棄し、前記バッファが空になった後、選択されたデジタル放送信号のストリームを復号して出力することを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 1, wherein
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
The decoding unit includes a key frame detection unit that detects the key frame from the stream of the digital broadcast signal, and a buffer that stores a stream including the key frame detected by the key frame detection unit in an undecoded state. The stream from the key frame detected from the digital broadcast signal stream to the time immediately before the next key frame detected in time is stored in the buffer in a state where it is not decoded, and the stream is stored in the buffer. Is always updated to the stream immediately before the latest keyframe,
When the selection of the output target is switched to the digital broadcast signal, the decoding unit reads a stream including the key frame stored in the buffer, and the decoding unit performs decoding faster than the decoding performed by the decoding unit during normal output. A digital broadcast receiver which performs processing and discards and decodes and outputs a stream of a selected digital broadcast signal after the buffer becomes empty.
デジタル放送信号を受信して復号する手段と、前記復号したデジタル放送信号を含む少なくとも複数種類の画像ソースのいずれかを選択して出力する手段とを備えたデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段は、前記デジタル放送を選局するチューナ部と、該チューナ部で選局したデジタル放送を復調する復調部と、該復調部が復調したデジタル放送信号を復号する復号部とを有し、
該復号部は、出力対象の選択が、前記複数種類の画像ソースのいずれかから前記デジタル放送信号に切り替えられたときに、前記選択されたデジタル放送信号のストリームから、単独で復号可能なキーフレームを検出し、該検出したキーフレームから前記デジタル放送信号のストリームを復号して出力し、
該デジタル放送信号のストリームが復号されるまで、前記複数種類の画像ソースのいずれかの出力を維持し、該デジタル放送信号が復号されたストリームが復号されたときに、前記複数種類の画像ソースのいずれかから前記デジタル放送信号に出力を切り替えることを特徴とするデジタル放送受信機。
In a digital broadcast receiver comprising: means for receiving and decoding a digital broadcast signal; and means for selecting and outputting at least one of a plurality of types of image sources including the decoded digital broadcast signal.
The means for receiving and decoding the digital broadcast signal includes a tuner unit for selecting the digital broadcast, a demodulator unit for demodulating the digital broadcast channel selected by the tuner unit, and a digital broadcast signal demodulated by the demodulator unit. A decoding unit for decoding,
When the selection of an output target is switched from any one of the plurality of types of image sources to the digital broadcast signal, the decryption unit can independently decode a key frame from the selected digital broadcast signal stream. And decoding and outputting the stream of the digital broadcast signal from the detected key frame,
Until the stream of the digital broadcast signal is decoded, the output of any one of the plurality of types of image sources is maintained, and when the stream from which the digital broadcast signal is decoded is decoded, A digital broadcast receiver characterized in that the output is switched from any one to the digital broadcast signal.
請求項1〜7のいずれか1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段として、周波数帯域内のワンセグメントに割り当てられたワンセグメント放送信号を受信して復号する手段と、複数のセグメントを使用した複数セグメント放送信号を受信して復号する手段とを有し、
前記複数セグメント放送信号から前記ワンセグメント放送信号への切り替えを、前記出力対象の選択の切り替えとすることを特徴とするデジタル放送受信機。
In the digital broadcast receiver according to any one of claims 1 to 7,
As means for receiving and decoding the digital broadcast signal, means for receiving and decoding a one-segment broadcast signal assigned to one segment in a frequency band; and receiving a multi-segment broadcast signal using a plurality of segments Means for decoding,
Switching from the multi-segment broadcast signal to the one-segment broadcast signal is switching of the output target selection.
請求項1〜7のいずれか1に記載のデジタル放送受信機において、
前記デジタル放送信号を受信して復号する手段として、周波数帯域内のワンセグメントに割り当てられたワンセグメント放送信号を受信して復号する手段を複数有し、または複数のセグメントを使用した複数セグメント放送信号を受信して復号する手段を複数有し、
前記ワンセグメント放送信号同士の切り替え、または前記複数セグメント放送信号同士の切り替えを、前記出力対象の選択の切り替えとすることを特徴とするデジタル放送受信機。
In the digital broadcast receiver according to any one of claims 1 to 7,
As means for receiving and decoding the digital broadcast signal, there are a plurality of means for receiving and decoding a one-segment broadcast signal assigned to one segment in a frequency band, or a multi-segment broadcast signal using a plurality of segments A plurality of means for receiving and decoding
The digital broadcast receiver characterized in that switching between the one-segment broadcast signals or switching between the plurality of segment broadcast signals is switching of the selection of the output target.
請求項1〜7のいずれか1に記載のデジタル放送受信機において、
前記複数種類の画像ソースとして、前記デジタル放送受信機にて動作する特定のアプリケーションにより生成される画像ソースを出力可能で、
該アプリケーションにより生成される画像ソースの出力から前記デジタル放送信号への切り替えを、前記出力対象の選択の切り替えとすることを特徴とするデジタル放送受信機。
In the digital broadcast receiver according to any one of claims 1 to 7,
As the plurality of types of image sources, an image source generated by a specific application operating on the digital broadcast receiver can be output,
A digital broadcast receiver characterized in that switching from output of an image source generated by the application to the digital broadcast signal is switching of selection of the output target.
請求項3〜6のいずれか1に記載のデジタル放送受信機において、
前記出力対象の選択が前記デジタル放送信号に切り替えられたときに、前記バッファに保存したキーフレームを含むストリームが復号されて出力されるまでの間、前記複数種類の画像ソースのいずれかの出力を継続して、出力が途切れないようにすることを特徴とするデジタル放送受信機。
The digital broadcast receiver according to any one of claims 3 to 6,
When the selection of the output target is switched to the digital broadcast signal, until the stream including the key frame stored in the buffer is decoded and output, the output of any of the plurality of types of image sources is performed. A digital broadcast receiver characterized by continuously preventing output from being interrupted.
請求項8に記載のデジタル放送受信機において、
前記複数セグメント放送信号の出力を所定時間遅延させる手段を有し、同一番組を放送しているときに出力までの時間差が生じる前記複数セグメント放送信号と前記ワンセグメント放送信号との出力の時間差をなくすことを特徴とするデジタル放送受信機。
The digital broadcast receiver according to claim 8, wherein
Means for delaying the output of the multi-segment broadcast signal by a predetermined time, and eliminating the time difference between the output of the multi-segment broadcast signal and the one-segment broadcast signal that causes a time difference until the output when broadcasting the same program A digital broadcast receiver characterized by that.
JP2009046518A 2009-02-27 2009-02-27 Digital broadcast receiver Pending JP2010206258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009046518A JP2010206258A (en) 2009-02-27 2009-02-27 Digital broadcast receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009046518A JP2010206258A (en) 2009-02-27 2009-02-27 Digital broadcast receiver

Publications (1)

Publication Number Publication Date
JP2010206258A true JP2010206258A (en) 2010-09-16

Family

ID=42967351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009046518A Pending JP2010206258A (en) 2009-02-27 2009-02-27 Digital broadcast receiver

Country Status (1)

Country Link
JP (1) JP2010206258A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015008403A (en) * 2013-06-25 2015-01-15 富士通株式会社 Information processing apparatus, display control program, and display control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005354283A (en) * 2004-06-09 2005-12-22 Hitachi Ltd Digital broadcast receiver
JP2006166035A (en) * 2004-12-07 2006-06-22 Sanyo Electric Co Ltd Digital broadcast receiver
JP2007288683A (en) * 2006-04-19 2007-11-01 Pioneer Electronic Corp Image processor and image processing method
JP2008206015A (en) * 2007-02-22 2008-09-04 Alpine Electronics Inc Digital broadcast receiver

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005354283A (en) * 2004-06-09 2005-12-22 Hitachi Ltd Digital broadcast receiver
JP2006166035A (en) * 2004-12-07 2006-06-22 Sanyo Electric Co Ltd Digital broadcast receiver
JP2007288683A (en) * 2006-04-19 2007-11-01 Pioneer Electronic Corp Image processor and image processing method
JP2008206015A (en) * 2007-02-22 2008-09-04 Alpine Electronics Inc Digital broadcast receiver

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015008403A (en) * 2013-06-25 2015-01-15 富士通株式会社 Information processing apparatus, display control program, and display control method

Similar Documents

Publication Publication Date Title
US7778276B2 (en) Mobile communication terminal, mobile communication method, and information recording medium
KR20020018604A (en) Digital television channel surfing system
US20050207449A1 (en) Method and system for providing faster channel switching in a digital broadcast system
JP2009017237A (en) Decoder and decoding method
US8035743B2 (en) Method for processing data in a terminal with digital broadcasting receiver
JP2007158492A (en) Terrestrial digital television receiver
WO2015107409A1 (en) Method and apparatus for multiplexing layered coded contents
JP2007006457A (en) Digital data receiving system
JP2001285736A (en) Television broadcasting receiver, television broadcasting reception system, television broadcasting reception method and storage medium
JP2007282185A (en) In-vehicle receiver
US7671927B2 (en) Method for reducing channel switching delay in digital broadcast receiver and digital broadcast receiver using the same
WO2010087273A1 (en) Display device, communication device, display method, and program recording medium
JP2010034994A (en) Digital broadcasting receiver and receiving method
JP4866135B2 (en) Image processing apparatus and image processing method
JP2009005123A (en) Television broadcast receiving apparatus and television broadcast receiving method
JP3548113B2 (en) Receiver and image reproducing method
JP2010206258A (en) Digital broadcast receiver
JP2013125986A (en) Digital broadcast receiving device
JP2004112654A (en) Digital broadcast receiver
JP2008153940A (en) Digital broadcast image receiving system and method
JP2006310977A (en) Channel switching auxiliary device, output signal switching method, and channel switching auxiliary program
JP2012169902A (en) On-vehicle digital terrestrial broadcasting receiver
KR100745287B1 (en) Digital TV audio output control device and method.
JP4781690B2 (en) Mobile broadcast receiving apparatus and broadcast receiving method for mobile broadcast receiving apparatus
JP4996588B2 (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: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121204

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130716