JP2009017014A - Device, method and program for decoding video and device for receiving broadcasting signal - Google Patents

Device, method and program for decoding video and device for receiving broadcasting signal Download PDF

Info

Publication number
JP2009017014A
JP2009017014A JP2007174178A JP2007174178A JP2009017014A JP 2009017014 A JP2009017014 A JP 2009017014A JP 2007174178 A JP2007174178 A JP 2007174178A JP 2007174178 A JP2007174178 A JP 2007174178A JP 2009017014 A JP2009017014 A JP 2009017014A
Authority
JP
Japan
Prior art keywords
decoding
delay
unit
predetermined
video
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
JP2007174178A
Other languages
Japanese (ja)
Inventor
Takayuki Sato
貴之 佐藤
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007174178A priority Critical patent/JP2009017014A/en
Publication of JP2009017014A publication Critical patent/JP2009017014A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To internally monitor a time required for decoding a frame, and to decide whether there is enough time or decoding processing fails due to lack of time on the basis of an actual time required for decoding processing. <P>SOLUTION: Differences among the decoding processing times of each frame within an accumulation range and the intervals of vertical synchronizing signals Vsync are accumulated to compute accumulation delays, wherein a fixed number of frames are defined as the range (the accumulation range) of a time monitor. The accumulation delay indicates the degree of margin of decoding processing times to the intervals of the vertical synchronizing signals Vsync. The frames to be monitored within the accumulation range are slid while decoding the frames. When the accumulation delay is larger than a failure-accumulation threshold value VTH indicating the failure of the decoding processing, the decoding processing failure is decided because of accumulation of delay with time. When the accumulation delay is smaller than a margin accumulation value STH indicating decoding processing margin, then, there is a margin in the decoding section, and an idle time is generated. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、映像復号装置、映像復号方法、映像復号プログラム、および放送信号受信装置に関する。   The present invention relates to a video decoding device, a video decoding method, a video decoding program, and a broadcast signal receiving device.

圧縮された映像信号の性質によっては復号処理に時間を要する場合があり、垂直同期信号までに復号処理を終了できないため、映像の表示を垂直同期信号に同期させて行うことができず、映像表示の遅れやフレーム落ちなど、見た目でも認識できる不具合を発生することがある。
すなわち、情報量が多いフレームの復号処理が頻発すると、復号処理の時間的な遅れが連続して発生することになり、復号処理全体としての時間的な遅れが蓄積し、システム全体として時間的な破綻が発生する可能性がある。
Depending on the nature of the compressed video signal, the decoding process may take some time, and the decoding process cannot be completed before the vertical sync signal, so the video display cannot be performed in synchronization with the vertical sync signal, and the video display In some cases, it may cause problems that can be recognized even by appearance, such as delays in frames and dropped frames.
That is, if the decoding process of a frame with a large amount of information frequently occurs, the time delay of the decoding process will continuously occur, the time delay of the entire decoding process accumulates, and the time of the entire system will increase. Failure may occur.

また、映像の復号処理でエラーが発生すると、場合によっては、そのエラー復帰処理の負荷がかかり、処理の遅れが更に増加する。   In addition, when an error occurs in the video decoding process, the error recovery process is loaded in some cases, and the processing delay further increases.

このような破綻を回避するために、圧縮された映像が含まれる入力ストリームのビットレートを測定し、測定されたビットレートと所定の閾値を比較して、復号するフレームの間引きを行い、映像表示の遅れ等の破綻を防ぐ方法が考えられている(例えば、特許文献1の段落[0059]と[0060]参照)。しかし、この場合、フレームの復号処理に要した実時間での破綻判定では無いので、正確に破綻を判定できる技術とは言えない。   In order to avoid such a failure, the bit rate of the input stream containing the compressed video is measured, the measured bit rate is compared with a predetermined threshold, and the frame to be decoded is thinned out to display the video. A method for preventing a failure such as a delay in the time period has been considered (see, for example, paragraphs [0059] and [0060] of Patent Document 1). However, in this case, since it is not the failure determination in real time required for the decoding process of the frame, it cannot be said that the technology can accurately determine the failure.

一方、入力ストリームの情報量が小さく、それに伴って、符号化された各フレームの情報量も小さいような状況が頻発すると、復号処理に要する時間が非常に短くなり、垂直同期信号の期間に比べて復号処理に要する時間に余裕が生じることが予想される。
特開平11−275518号公報
On the other hand, if the amount of information in the input stream is small and the amount of information in each encoded frame is small, the time required for the decoding process becomes very short, compared to the period of the vertical synchronization signal. Thus, it is expected that there will be a margin in the time required for the decoding process.
Japanese Patent Laid-Open No. 11-275518

フレームを復号するために要する時間を内部的に監視し、時間的に復号処理が破綻したことを判定できれば、動作周波数を上げて、フレームを復号するために要する時間の短縮を図る、または全てのフレームの復号処理を行うのではなく、IDR(Instantaneous Decoder Refresh)ピクチャのみを復号処理(間引き処理)する、のいずれかの対処方法を取ることができる。   If the time required to decode the frame is monitored internally and it can be determined that the decoding process has broken down in time, the operating frequency is increased to reduce the time required to decode the frame, or all Instead of performing a frame decoding process, any one of the coping methods can be taken, in which only an IDR (Instantaneous Decoder Refresh) picture is decoded (decimation process).

また、携帯機器では、消費電力を抑えることも重要である。しかし、復号処理の破綻を正確に判定することができなければ、システムの動作周波数を動的に変更することが容易では無く、復号処理の負荷が軽い場合であっても、消費電力を抑えることが困難である。フレームを復号するために要する時間を内部的に監視し、復号処理に余裕があることを判定できれば、動作周波数を下げて消費電力を抑えることが可能となる。   In portable devices, it is also important to reduce power consumption. However, if it is not possible to accurately determine the failure of the decoding process, it is not easy to dynamically change the system operating frequency, and even if the load on the decoding process is light, the power consumption can be reduced. Is difficult. If the time required to decode a frame can be monitored internally and it can be determined that there is a margin in the decoding process, the operating frequency can be lowered to reduce power consumption.

以上から、フレームを復号するために要する時間を内部的に監視し、復号処理に要した実際の時間に基づいて、復号処理が時間的に破綻したことや復号処理に余裕があることを判定し、判定結果に応じた条件で映像を復号することができる映像復号装置、映像復号方法、映像復号プログラム、および放送信号受信装置が要望されている。   Based on the above, the time required to decode the frame is internally monitored, and based on the actual time required for the decoding process, it is determined that the decoding process has failed in time or that there is room in the decoding process. There is a demand for a video decoding device, a video decoding method, a video decoding program, and a broadcast signal receiving device that can decode video under conditions according to the determination result.

本発明の映像復号装置は、新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出し、当該新たなフレームと当該新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、当該新たなフレームの復号遅延と当該所定の数の連続するフレームの復号遅延を加算して累算遅延を求める累算遅延算出部と、前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択する選択部とを含む制御部と、前記所定の復号処理条件で映像を復号する復号部とを有する。   Each time a new frame is decoded, the video decoding device of the present invention calculates a decoding delay that is a difference between a decoding processing time required to decode the new frame and an input interval of a predetermined interrupt signal. , For the accumulation range including the new frame and a predetermined number of consecutive frames decoded before the new frame is decoded, the decoding delay of the new frame and the predetermined number of consecutive frames An accumulated delay calculating unit that adds a decoding delay to obtain an accumulated delay, and a selecting unit that compares the accumulated delay with a predetermined accumulated threshold and selects a predetermined decoding processing condition according to the comparison result. A control unit including the decoding unit, and a decoding unit configured to decode the video under the predetermined decoding processing condition.

好ましくは、本発明の映像復号装置は、前記制御部が、前のフレームの復号が完了してから次のフレームの復号が開始されるまでの復号間隔と所定の間隔閾値を比較し、当該復号間隔が当該間隔閾値より大きいとき、前記累算遅延に関する内部情報を初期化し、前記累算遅延算出部に当該次のフレームから累算遅延を算出させる累算遅延初期化部を含む。   Preferably, in the video decoding device according to the present invention, the control unit compares a decoding interval between the completion of decoding of the previous frame and the start of decoding of the next frame with a predetermined interval threshold, and the decoding When the interval is larger than the interval threshold, an accumulated delay initialization unit that initializes internal information related to the accumulated delay and causes the accumulated delay calculation unit to calculate an accumulated delay from the next frame is included.

好ましくは、本発明の映像復号装置は、周波数指示信号に応じた周波数のクロックを前記復号部に供給するクロック供給部を有し、前記選択部が、前記復号処理条件として、前記復号部に供給すべきクロックの周波数を選択し、当該選択された周波数に応じたクロックを供給するように、前記周波数指示信号を前記クロック供給部に出力する。   Preferably, the video decoding apparatus according to the present invention includes a clock supply unit that supplies a clock having a frequency corresponding to a frequency instruction signal to the decoding unit, and the selection unit supplies the decoding unit as the decoding processing condition. The frequency of the clock to be selected is selected, and the frequency instruction signal is output to the clock supply unit so as to supply a clock corresponding to the selected frequency.

好ましくは、本発明の映像復号装置は、前記選択部は、前記累算遅延が前記所定の累算閾値より大きいとき、前記復号部に供給されるクロックの周波数が増加するように、前記周波数指示信号を前記クロック供給部に出力する。   Preferably, in the video decoding device according to the present invention, the selection unit is configured to increase the frequency of the clock supplied to the decoding unit when the accumulated delay is greater than the predetermined accumulation threshold. A signal is output to the clock supply unit.

好ましくは、本発明の映像復号装置は、前記選択部は、前記累算遅延が前記所定の累算閾値より小さいとき、前記復号部に供給されるクロックの周波数が減少するように、前記周波数指示信号を前記クロック供給部に出力する。   Preferably, in the video decoding device according to the present invention, the selection unit is configured to reduce the frequency of the clock supplied to the decoding unit when the accumulated delay is smaller than the predetermined accumulation threshold. A signal is output to the clock supply unit.

好ましくは、本発明の映像復号装置は、前記選択部は、前記累算遅延が第1の累算閾値より小さいとき、前記復号部に供給されるクロックの周波数が減少するように、前記周波数指示信号を前記クロック供給部に出力し、前記累算遅延が前記第1の累算閾値以上であり、かつ第2の累算閾値以下であるとき、前記復号部に供給されるクロックの周波数が維持されるように、前記周波数指示信号を前記クロック供給部に出力し、前記累算遅延が前記第2の累算閾値より大きいとき、前記復号部に供給されるクロックの周波数が増加するように、前記周波数指示信号を前記クロック供給部に出力する。   Preferably, in the video decoding device according to the present invention, the selection unit is configured to reduce the frequency of the clock supplied to the decoding unit when the accumulated delay is smaller than a first accumulation threshold. A signal is output to the clock supply unit, and the frequency of the clock supplied to the decoding unit is maintained when the accumulated delay is greater than or equal to the first accumulation threshold and less than or equal to the second accumulation threshold. The frequency instruction signal is output to the clock supply unit, and when the accumulated delay is larger than the second accumulation threshold, the frequency of the clock supplied to the decoding unit is increased. The frequency instruction signal is output to the clock supply unit.

好ましくは、本発明の映像復号装置は、前記選択部が、前記累算遅延が前記所定の累算閾値より大きいとき、前記復号処理条件として、符号化されるとき他のフレームの情報を参照しないフレームを復号することを選択する。   Preferably, in the video decoding device according to the present invention, when the accumulation delay is larger than the predetermined accumulation threshold, the selection unit does not refer to information of another frame when encoded as the decoding processing condition. Choose to decode the frame.

好ましくは、本発明の映像復号装置は、前記選択部が、省電力モードが設定されると、前記復号処理条件として、符号化されるとき他のフレームの情報を参照しないフレームを復号することを選択する。   Preferably, in the video decoding device of the present invention, when the power saving mode is set, the selection unit decodes a frame that does not refer to information of another frame when being encoded, as the decoding processing condition. select.

好ましくは、本発明の映像復号装置は、垂直同期信号が発生し、または当該垂直同期信号が入力すると、前記制御部に入力される前記所定の割り込み信号を生成し、前記所定の割り込み信号によって前記制御部に前記垂直同期信号が発生または入力したことを通知する垂直同期信号部を有し、前記制御部が、前記復号処理時間と、前記所定の割り込み信号の入力間隔と、前記復号間隔を測定するタイマを含む。   Preferably, the video decoding apparatus according to the present invention generates the predetermined interrupt signal to be input to the control unit when a vertical synchronization signal is generated or is input, and the predetermined interrupt signal causes the predetermined interrupt signal to be generated. A vertical synchronization signal unit that notifies the control unit that the vertical synchronization signal has been generated or input; and the control unit measures the decoding processing time, the input interval of the predetermined interrupt signal, and the decoding interval Includes a timer to perform.

また、本発明の映像復号方法は、映像を復号する復号部を含む映像復号装置における映像復号方法であって、新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出するステップと、前記新たなフレームと前記新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、前記新たなフレームの復号遅延と前記所定の数の連続するフレームの復号遅延を加算して累算遅延を求めるステップと、前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択するステップと、前記復号部が、前記所定の復号処理条件で復号処理を行うステップとを有する。   The video decoding method of the present invention is a video decoding method in a video decoding device including a decoding unit that decodes video, and is required to decode a new frame each time a new frame is decoded. A step of calculating a decoding delay which is a difference between a decoding processing time and an input interval of a predetermined interrupt signal; and a predetermined number of consecutive frames decoded before the new frame and the new frame are decoded. Adding a decoding delay of the new frame and a decoding delay of the predetermined number of consecutive frames to obtain an accumulation delay, and comparing the accumulated delay with a predetermined accumulation threshold. The step of selecting a predetermined decoding process condition according to the comparison result, and the step of the decoding unit performing a decoding process under the predetermined decoding process condition.

また、本発明の映像復号プログラムは、映像を復号する処理をコンピュータに実行させる映像復号プログラムであって、新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出するステップと、前記新たなフレームと前記新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、前記新たなフレームの復号遅延と前記所定の数の連続するフレームの復号遅延を加算して累算遅延を求めるステップと、前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択するステップと、前記所定の復号処理条件で復号処理を行うステップとをコンピュータに実行させる。   The video decoding program of the present invention is a video decoding program for causing a computer to execute a video decoding process, and a decoding process required for decoding a new frame each time a new frame is decoded. Calculating a decoding delay, which is a difference between the time and an input interval of a predetermined interrupt signal, and a cumulative number including the new frame and a predetermined number of consecutive frames decoded before the new frame is decoded. Adding a decoding delay of the new frame and a decoding delay of the predetermined number of consecutive frames to obtain an accumulation delay for the calculation range; comparing the accumulated delay with a predetermined accumulation threshold; A step of selecting a predetermined decoding process condition according to the comparison result and a step of performing a decoding process under the predetermined decoding process condition are executed by a computer.

また、本発明の放送信号受信装置は、入力ストリームを含む放送信号を受信する受信部と、前記入力ストリームから符号化された映像を分離する分離部と、所定の復号処理条件を選択する制御部と、前記所定の復号処理条件で映像を復号する復号部とを有し、前記制御部が、新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出し、当該新たなフレームと当該新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、当該新たなフレームの復号遅延と当該所定の数の連続するフレームの復号遅延を加算して累算遅延を求める累算遅延算出部と、前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて前記所定の復号処理条件を選択する選択部とを含む。   The broadcast signal receiving apparatus of the present invention includes a receiving unit that receives a broadcast signal including an input stream, a separating unit that separates an encoded video from the input stream, and a control unit that selects a predetermined decoding processing condition. And a decoding unit that decodes the video under the predetermined decoding processing condition, and each time the control unit decodes a new frame, a decoding processing time required to decode the new frame; Calculate a decoding delay that is a difference from an input interval of a predetermined interrupt signal, and an accumulation range including a predetermined number of consecutive frames decoded before the new frame and the new frame are decoded, An accumulated delay calculation unit that obtains an accumulated delay by adding the decoded delay of the new frame and the predetermined number of consecutive frames, and compares the accumulated delay with a predetermined accumulated threshold; Comparison And a selector for selecting the predetermined decoding processing conditions in accordance with the result.

本発明によれば、累算遅延算出部は、新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔(垂直同期信号の間隔)との差である復号遅延を算出し、当該新たなフレームと当該新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、当該新たなフレームの復号遅延と当該所定の数の連続するフレームの復号遅延を加算して累算遅延を求める。このように、フレームの復号処理が進むとともに、累算範囲はそのままにして累算範囲内に含まれる監視対象のフレームをスライドさせる。累算遅延は、累算範囲に含まれる複数のフレームをひとまとまりとして、垂直同期信号の間隔に対する復号処理に要する時間の余裕の程度を表す。
そして、選択部が、前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択し、復号部は前記所定の復号処理条件で映像を復号する。
このため、フレームを復号するために要する時間を累算遅延によって内部的に監視し、累算遅延に基づいて復号処理が時間的に破綻したことや復号処理に余裕があることを判定し、判定結果に応じた条件で映像を復号することができる。
According to the present invention, every time a new frame is decoded, the accumulated delay calculation unit decodes a decoding processing time required to decode the new frame and a predetermined interrupt signal input interval (vertical synchronization signal A decoding delay that is a difference between the new frame and an accumulation range including a predetermined number of consecutive frames decoded before the new frame is decoded. The accumulated delay is obtained by adding the decoding delay and the decoding delay of the predetermined number of consecutive frames. Thus, as the frame decoding process proceeds, the monitoring target frame included in the accumulation range is slid while the accumulation range remains unchanged. The accumulated delay represents a margin of time required for the decoding process with respect to the interval of the vertical synchronization signal, with a plurality of frames included in the accumulated range as a group.
Then, the selection unit compares the accumulated delay with a predetermined accumulation threshold, selects a predetermined decoding processing condition according to the comparison result, and the decoding unit decodes the video under the predetermined decoding processing condition.
For this reason, the time required to decode the frame is monitored internally by the accumulated delay, and it is determined based on the accumulated delay that the decoding process has failed in time or that there is a margin in the decoding process. The video can be decoded under conditions according to the result.

以上のように、本発明によれば、フレームを復号するために要する時間を内部的に監視し、復号処理に要した実際の時間に基づいて、復号処理が時間的に破綻したことや復号処理に余裕があることを判定し、判定結果に応じた条件で映像を復号することができる。   As described above, according to the present invention, the time required to decode a frame is internally monitored, and based on the actual time required for the decoding process, the decoding process has failed in time or the decoding process. It is possible to determine that there is a margin, and to decode the video under conditions according to the determination result.

図1は、本発明の一実施形態に係る1セグ放送受信装置の構成の一例を示すブロック図である。
1セグ放送受信装置10は、チューナ部20と、ホスト部30と、ビデオ部40と、クロック供給部50と、メモリ60とを有している。
1セグ放送(1セグメント放送)は、地上デジタル放送の電波を利用して、携帯端末向けに番組(簡易動画)を放送するものである。1セグ放送の映像は、映像符号化の標準規格であるH.264で符号化されており、1秒当たり15フレーム含まれる。
FIG. 1 is a block diagram showing an example of the configuration of a 1-segment broadcast receiving apparatus according to an embodiment of the present invention.
The 1-segment broadcast receiving apparatus 10 includes a tuner unit 20, a host unit 30, a video unit 40, a clock supply unit 50, and a memory 60.
One-segment broadcasting (one-segment broadcasting) broadcasts a program (simple moving picture) for mobile terminals using radio waves of terrestrial digital broadcasting. The video of 1-segment broadcasting is H.264, which is a video encoding standard. It is encoded by H.264 and includes 15 frames per second.

チューナ部20は、入力ストリームを含む1セグ放送信号を受信する。チューナ部20は、バッファメモリを含んでおり、入力ストリームを蓄積する。ホスト部30から入力ストリームの入力要求c1があると、チューナ部20はバッファメモリに蓄積されている入力ストリームをホスト部30に出力する。   The tuner unit 20 receives a 1-segment broadcast signal including an input stream. The tuner unit 20 includes a buffer memory and accumulates an input stream. When there is an input stream input request c 1 from the host unit 30, the tuner unit 20 outputs the input stream stored in the buffer memory to the host unit 30.

ホスト部30は、ホスト制御部31と、Demux(Demultiplexer)32とを含む。ホスト制御部31は、Demux32のモード設定と、分離された音声と映像をメモリ60へライトするアドレス等の指示c2を行う。ホスト制御部31は、CPUとメモリ等を含む。Demux32は、音声と映像を分離し、分離された音声と映像をメモリ60へライトする。Demux32は、音声と映像の分離が完了すると、ホスト制御部31へ割り込み信号i1で通知する。   The host unit 30 includes a host control unit 31 and a Demux (Demultiplexer) 32. The host control unit 31 performs an instruction c2 such as a mode setting of the Demux 32 and an address for writing the separated audio and video to the memory 60. The host control unit 31 includes a CPU and a memory. The Demux 32 separates audio and video, and writes the separated audio and video to the memory 60. When the separation of audio and video is completed, the Demux 32 notifies the host control unit 31 with an interrupt signal i1.

ビデオ部40は、復号部41と、ビデオ制御部42と、垂直同期信号部43と、ビデオI/F(ビデオインタフェース)44とを含む。ビデオ部40とホスト部30は、相互に割り込み信号i2によって映像の復号処理に関する通信を行う。   The video unit 40 includes a decoding unit 41, a video control unit 42, a vertical synchronization signal unit 43, and a video I / F (video interface) 44. The video unit 40 and the host unit 30 communicate with each other by the interrupt signal i2 regarding video decoding processing.

復号部41は、メモリ60から符号化された映像を読み出し、復号する。復号部41は、映像の復号が完了すると、ビデオ制御部42へ割り込み信号i3で通知する。   The decoding unit 41 reads the encoded video from the memory 60 and decodes it. When the decoding of the video is completed, the decoding unit 41 notifies the video control unit 42 with an interrupt signal i3.

ビデオ制御部42は、CPUとメモリとタイマ421を含む。
ビデオ制御部42は、復号部41に対し、後述する復号処理条件等のモード設定を行い、メモリ60に記憶されている映像データのアドレスやサイズ等の指示c3を行う。復号処理条件の設定については後で詳細に説明する。
また、ビデオ制御部42は、復号部41に供給されるクロックの周波数を指示する周波数指示信号c5をクロック供給部50に出力する。
更に、ビデオ制御部42は、ビデオI/F44のモード設定やスケーリング等の指示c4を行う。
The video control unit 42 includes a CPU, a memory, and a timer 421.
The video control unit 42 sets modes such as later-described decoding processing conditions to the decoding unit 41, and gives an instruction c3 such as the address and size of the video data stored in the memory 60. The setting of the decoding processing condition will be described later in detail.
In addition, the video control unit 42 outputs a frequency instruction signal c <b> 5 that indicates the frequency of the clock supplied to the decoding unit 41 to the clock supply unit 50.
Further, the video control unit 42 gives an instruction c4 such as mode setting and scaling of the video I / F 44.

垂直同期信号部43は、割り込み信号i4によってビデオ制御部42に垂直同期信号Vsyncの発生を通知する。垂直同期信号部43は、内部で垂直同期信号Vsyncを周期的に発生すものであっても良いし、1セグ放送受信装置10の外部から垂直同期信号Vsyncが入力されるものであっても良い。   The vertical synchronization signal unit 43 notifies the video control unit 42 of the generation of the vertical synchronization signal Vsync by the interrupt signal i4. The vertical synchronization signal unit 43 may periodically generate the vertical synchronization signal Vsync internally, or may be one in which the vertical synchronization signal Vsync is input from the outside of the 1-segment broadcasting receiver 10. .

ビデオI/F44は、復号部41から復号された映像を受け取り、表示装置に対するモード設定等を行って、表示装置に映像を出力する。   The video I / F 44 receives the decoded video from the decoding unit 41, performs mode setting for the display device, and outputs the video to the display device.

クロック供給部50は、クロック生成回路51と、分周器52と、周波数レジスタ53とを含む。
クロック生成回路51は、PLL(Phase Locked Loop)を含み、外部クロックを整数倍して内部クロックを生成する。生成された内部クロックは、チューナ部20と、ホスト部30と、ビデオ部40に供給される。なお、ビデオ部40等の各ブロックごとに分周器を設け、各ブロックの必要に応じて内部クロックを分周し、周波数を変更して各ブロックに供給しても良い。また、1セグ放送受信装置10の外部から十分に高い周波数の外部クロックを供給できる場合には、クロック生成回路51を省き、外部クロックを直接内部クロックとしても良い。
The clock supply unit 50 includes a clock generation circuit 51, a frequency divider 52, and a frequency register 53.
The clock generation circuit 51 includes a PLL (Phase Locked Loop), and generates an internal clock by multiplying an external clock by an integer. The generated internal clock is supplied to the tuner unit 20, the host unit 30, and the video unit 40. A frequency divider may be provided for each block of the video unit 40, etc., and an internal clock may be divided as necessary for each block, and the frequency may be changed and supplied to each block. When an external clock having a sufficiently high frequency can be supplied from the outside of the 1-segment broadcast receiving apparatus 10, the clock generation circuit 51 may be omitted and the external clock may be directly used as the internal clock.

生成された内部クロックは、分周器52によって分周され、復号部41にも供給される。
分周器52は、クロック生成回路51から供給される内部クロックを周波数レジスタ53に記憶されている分周比で分周し、内部クロックの周波数を変更する。
周波数レジスタ53は、ビデオ制御部42が出力する周波数指示信号c5によって分周比が設定される。なお、周波数レジスタ53には復号部41の動作周波数を設定し、設定された動作周波数を分周比に変換して分周器52に与えても良い。
The generated internal clock is frequency-divided by the frequency divider 52 and also supplied to the decoding unit 41.
The frequency divider 52 divides the internal clock supplied from the clock generation circuit 51 by the frequency dividing ratio stored in the frequency register 53, and changes the frequency of the internal clock.
In the frequency register 53, the frequency division ratio is set by the frequency instruction signal c5 output from the video control unit. Note that the operating frequency of the decoding unit 41 may be set in the frequency register 53, and the set operating frequency may be converted into a frequency dividing ratio and supplied to the frequency divider 52.

チューナ部20は本発明の受信部の例であり、Demux32は本発明の分離部の例であり、ビデオ制御部42は本発明の制御部の例であり、復号部41は本発明の復号部の例であり、クロック供給部50は本発明のクロック供給部の例であり、垂直同期信号部43は本発明の垂直同期信号部の例であり、タイマ421は本発明のタイマの例であり、周波数指示信号c5は本発明の周波数指示信号の例であり、垂直同期信号Vsyncは本発明の所定の割り込み信号の例である。   The tuner unit 20 is an example of the receiving unit of the present invention, the Demux 32 is an example of the separating unit of the present invention, the video control unit 42 is an example of the controlling unit of the present invention, and the decoding unit 41 is the decoding unit of the present invention. The clock supply unit 50 is an example of the clock supply unit of the present invention, the vertical synchronization signal unit 43 is an example of the vertical synchronization signal unit of the present invention, and the timer 421 is an example of the timer of the present invention. The frequency instruction signal c5 is an example of the frequency instruction signal of the present invention, and the vertical synchronization signal Vsync is an example of the predetermined interrupt signal of the present invention.

図2は、1セグ放送信号の受信から映像出力までの映像信号の変化の一例を示す図である。
チューナ部20は、1セグ放送信号を受信する。1セグ放送信号は、MPEG−2システムのトランスポート・ストリームを含んでいる。
トランスポート・ストリームはTS(トランスポート・ストリーム)パケットと呼ばれる188バイトの固定長のパケットが並べられたものである。PAT(Program Association Table、番組統合テーブル)、PMT(Program Map Table、番組対応テーブル)、PCR(Program Clock Reference、プログラム基準参照値)、および音声と映像のビット・ストリーム等がTSパケットによって伝送される。
音声や映像のビット・ストリームはPES(Packetized Elementary Stream)パケットに多重化され、さらにTSパケットに多重化される。
FIG. 2 is a diagram illustrating an example of a change in the video signal from reception of the 1-segment broadcast signal to video output.
The tuner unit 20 receives a 1-segment broadcast signal. One-segment broadcasting signal includes a transport stream of the MPEG-2 system.
The transport stream is a sequence of 188-byte fixed-length packets called TS (transport stream) packets. PAT (Program Association Table), PMT (Program Map Table), PCR (Program Clock Reference, program standard reference value), audio and video bit stream, etc. are transmitted by TS packet .
The bit stream of audio and video is multiplexed into a PES (Packetized Elementary Stream) packet and further multiplexed into a TS packet.

Demux32は、TSパケットから音声と映像のビット・ストリームをアクセス・ユニット(AU)単位で分離し、メモリ60のデータ保持領域にライトする。   The Demux 32 separates the audio and video bit streams from the TS packets in units of access units (AU) and writes them to the data holding area of the memory 60.

ホスト制御部31は、各アクセス・ユニットの情報を事前に解析し、アクセス・ユニットのヘッダ情報と復号すべき映像データのメモリ60上のアドレスを取得する。アドレスADR1と、アドレスADR2と、アドレスADR3は復号すべき映像データの先頭アドレスの例である。これらのアクセス・ユニットのヘッダ情報と復号すべき映像データのアドレスは割り込みi2ベースの通信を用いてビデオ部40に通知される。なお、AUデリミタはアクセス・ユニットの開始を示し、EOS(End Of Sequence)はひとつのシーケンスの終端を示す。   The host control unit 31 analyzes the information of each access unit in advance, and acquires the header information of the access unit and the address on the memory 60 of the video data to be decoded. Address ADR1, address ADR2, and address ADR3 are examples of head addresses of video data to be decoded. The header information of these access units and the video data address to be decoded are notified to the video unit 40 using interrupt i2 based communication. The AU delimiter indicates the start of an access unit, and EOS (End Of Sequence) indicates the end of one sequence.

復号部41は、メモリ60上の復号すべき映像データのアドレスがビデオ制御部42を介して通知され、メモリ60から復号すべき映像データを読み出して各フレームを復号する。図2では、メモリ60のアドレスADR1から読み出された映像データからフレームFR1が復号され、メモリ60のアドレスADR2とアドレスADR3から読み出された映像データからそれぞれフレームFR2とフレームFR3が復号される。   The decoding unit 41 is notified of the address of the video data to be decoded on the memory 60 via the video control unit 42, reads the video data to be decoded from the memory 60, and decodes each frame. In FIG. 2, the frame FR1 is decoded from the video data read from the address ADR1 of the memory 60, and the frames FR2 and FR3 are decoded from the video data read from the addresses ADR2 and ADR3 of the memory 60, respectively.

図3は、本発明の一実施形態に係る映像の復号処理に要する実際の時間に基づいて復号処理が破綻していないと判定される例を示す図である。
所定のフレーム数(例えば、5フレーム分)を時間監視の範囲(以下、累算範囲)として、累算範囲における各フレームの復号処理時間と垂直同期信号Vsyncの間隔の差分である復号遅延を累算して累算遅延を算出する。すなわち、フレームの復号処理が進むとともに、累算範囲(例えば、5フレーム分)はそのままにして累算範囲内に含まれる監視対象のフレームをスライドさせる。累算遅延は、累算範囲に含まれる複数のフレームをひとまとまりとして、垂直同期信号Vsyncの間隔に対する復号処理に要する時間の余裕の程度を示す。
累算遅延が復号処理の破綻を示す破綻累算閾値VTHより大きいとき、復号処理は時間的な遅れが蓄積した結果、破綻したと判定される。一方、累算遅延が復号処理に余裕があることを示す余裕累算閾値STHより小さいとき、復号部の処理に余裕があり、アイドル時間が生じていると判定される。
FIG. 3 is a diagram illustrating an example in which it is determined that the decoding process has not failed based on the actual time required for the video decoding process according to an embodiment of the present invention.
A predetermined number of frames (for example, 5 frames) is set as a time monitoring range (hereinafter referred to as an accumulation range), and a decoding delay that is a difference between the decoding processing time of each frame in the accumulation range and the interval of the vertical synchronization signal Vsync is accumulated. Calculate the accumulated delay. That is, as the frame decoding process proceeds, the monitoring target frame included in the accumulation range is slid while the accumulation range (for example, 5 frames) remains unchanged. The accumulated delay indicates a margin of time required for the decoding process with respect to the interval of the vertical synchronization signal Vsync by taking a plurality of frames included in the accumulated range as a group.
When the accumulated delay is larger than the failure accumulation threshold VTH indicating the failure of the decoding process, it is determined that the decoding process has failed as a result of the accumulation of time delay. On the other hand, when the accumulated delay is smaller than the margin accumulation threshold value STH indicating that there is a margin in the decoding process, it is determined that there is a margin in the processing of the decoding unit and the idle time has occurred.

図3は、フレームFR1〜フレームFR7の復号処理において破綻が発生しない場合を示す。図3では、累算範囲は5フレームであり、最初に判定を行う累算範囲RNG1にはフレームFR1〜フレームFR5が含まれる。累算範囲RNG1に含まれる「各フレームの復号処理の時間」と「垂直同期信号Vsyncの間隔」との差である復号遅延の累計が累算遅延DLY1であり、累算遅延DLY1が破綻累算閾値VTHより大きいか否かで破綻の判定が行われる。次に、新たにフレームFR6が復号されると、累算範囲の対象フレームは一つ更新される。つまり、累算範囲RNG2としてはフレームFR2〜フレームFR6が対象となり、差分累計は累算遅延DLY2となる。同様に、フレームFR7が復号されると、累算範囲の対象フレームはさらに更新され、累算範囲RNG3としてはフレームFR3〜フレームFR7が対象となり、差分累計は累算遅延DLY3となる。   FIG. 3 shows a case where no failure occurs in the decoding processing of the frames FR1 to FR7. In FIG. 3, the accumulation range is 5 frames, and the accumulation range RNG1 to be determined first includes the frames FR1 to FR5. The accumulated decoding delay, which is the difference between the “decoding processing time of each frame” included in the accumulation range RNG1 and the “interval of the vertical synchronization signal Vsync”, is the accumulated delay DLY1, and the accumulated delay DLY1 is failed accumulated. The determination of failure is made based on whether or not the threshold value is greater than VTH. Next, when the frame FR6 is newly decoded, one target frame in the accumulation range is updated. That is, the accumulation range RNG2 covers the frames FR2 to FR6, and the accumulated difference is the accumulation delay DLY2. Similarly, when the frame FR7 is decoded, the target frame in the accumulation range is further updated, and the accumulation range RNG3 is subject to the frames FR3 to FR7, and the accumulated difference becomes the accumulation delay DLY3.

1セグ放送では、垂直同期信号Vsyncの間隔は66msである。図3において、例えば、破綻累算閾値VTHを165msとし、フレームFR1、フレームFR2、フレームFR3、フレームFR4、フレームFR5、フレームFR6、フレームFR7の復号に要する時間をそれぞれ198ms、66ms、99ms、33ms、33ms、33ms、165msとする。このとき、フレームFR1〜フレームFR7の復号遅延はそれぞれ、132ms、0ms、33ms、−33ms、−33ms、−33ms、99msであり、累算遅延DLY1、累算遅延DLY2、および累算遅延DLY3はそれぞれ99ms、−66ms、および33msとなる。従って、累算遅延DLY1、累算遅延DLY2、および累算遅延DLY3は全て破綻累算閾値VTHよりも小さいため、累算範囲RNG1と累算範囲RNG2と累算範囲RNG3において破綻は発生していないと判定される。   In 1-segment broadcasting, the interval of the vertical synchronization signal Vsync is 66 ms. In FIG. 3, for example, the failure accumulation threshold VTH is set to 165 ms, and the time required for decoding the frame FR1, the frame FR2, the frame FR3, the frame FR4, the frame FR5, the frame FR6, and the frame FR7 is 198 ms, 66 ms, 99 ms, 33 ms, respectively. 33 ms, 33 ms, and 165 ms. At this time, the decoding delays of the frames FR1 to FR7 are 132 ms, 0 ms, 33 ms, −33 ms, −33 ms, −33 ms, and 99 ms, respectively, and the accumulated delay DLY1, the accumulated delay DLY2, and the accumulated delay DLY3 are respectively 99 ms, −66 ms, and 33 ms. Accordingly, the accumulated delay DLY1, the accumulated delay DLY2, and the accumulated delay DLY3 are all smaller than the failed accumulation threshold VTH, so that no failure has occurred in the accumulated range RNG1, the accumulated range RNG2, and the accumulated range RNG3. It is determined.

図4は、本発明の一実施形態に係る映像の復号処理に要する実際の時間に基づいて復号処理が破綻したと判定される例を示す図である。累算範囲RNG11に含まれるフレームFR11〜フレームFR15において破綻したと判定される。図4において、例えば、破綻累算閾値VTHを165msとし、フレームFR10、フレームFR11、フレームFR12、フレームFR13、フレームFR14、フレームFR15の復号に要する時間をそれぞれ99ms、198ms、33ms、66ms、33ms、198msとする。このとき、フレームFR10〜フレームFR15の復号遅延はそれぞれ、33ms、132ms、−33ms、0ms、−33ms、132msであり、累算遅延DLY10と累算遅延DLY11はそれぞれ99msと198msとなる。従って、累算遅延DLY10は破綻累算閾値VTHよりも小さいため、累算範囲RNG10に含まれるフレームFR10〜フレームFR14の復号処理において破綻は発生していないと判定される。一方、累算遅延DLY11は破綻累算閾値VTHよりも大きいため、累算範囲RNG11に含まれるフレームFR11〜フレームFR15の復号処理において破綻が発生したと判定される。   FIG. 4 is a diagram illustrating an example in which it is determined that the decoding process has failed based on the actual time required for the video decoding process according to an embodiment of the present invention. It is determined that the frame FR11 to frame FR15 included in the accumulation range RNG11 has failed. In FIG. 4, for example, the failure accumulation threshold VTH is set to 165 ms, and the time required to decode the frame FR10, the frame FR11, the frame FR12, the frame FR13, the frame FR14, and the frame FR15 is 99 ms, 198 ms, 33 ms, 66 ms, 33 ms, and 198 ms, respectively. And At this time, the decoding delays of the frames FR10 to FR15 are 33 ms, 132 ms, −33 ms, 0 ms, −33 ms, and 132 ms, respectively, and the accumulated delay DLY10 and the accumulated delay DLY11 are 99 ms and 198 ms, respectively. Accordingly, since the accumulated delay DLY10 is smaller than the failure accumulation threshold VTH, it is determined that no failure has occurred in the decoding processing of the frames FR10 to FR14 included in the accumulation range RNG10. On the other hand, since the accumulated delay DLY11 is larger than the failed accumulation threshold VTH, it is determined that a failure has occurred in the decoding processing of the frames FR11 to FR15 included in the accumulated range RNG11.

図5は、本発明の一実施形態に係る復号部の動作周波数を変更する処理のフローチャートを示す図である。
ビデオ制御部42は、フレームの復号を受け付ける(ステップST1)。このとき、受け付けたフレームについて復号処理はまだ実行されていない。
次に、受け付けたフレームの復号開始時間を取得し(ステップST2)、そのフレームを復号する(ステップST3)。復号開始時間はビデオ制御部42に含まれるタイマ421のカウント値を読むことによって取得される。
次に、そのフレームの復号完了時間を取得し(ステップST4)、復号完了時間から復号開始時間を減算することによりそのフレームの復号処理時間を算出する(ステップST5)。復号完了時間はビデオ制御部42に含まれるタイマ421のカウント値を読むことによって取得される。
次に、そのフレームの復号処理時間と垂直同期信号Vsyncの間隔との差である復号遅延を算出し(ステップST6)、累算範囲を更新して累算遅延を算出する(ステップST7)。
FIG. 5 is a diagram showing a flowchart of processing for changing the operating frequency of the decoding unit according to an embodiment of the present invention.
The video control unit 42 receives the decoding of the frame (step ST1). At this time, the decoding process has not yet been executed for the accepted frame.
Next, the decoding start time of the accepted frame is acquired (step ST2), and the frame is decoded (step ST3). The decoding start time is obtained by reading the count value of the timer 421 included in the video control unit 42.
Next, the decoding completion time of the frame is acquired (step ST4), and the decoding processing time of the frame is calculated by subtracting the decoding start time from the decoding completion time (step ST5). The decoding completion time is obtained by reading the count value of the timer 421 included in the video control unit 42.
Next, a decoding delay that is the difference between the decoding processing time of the frame and the interval of the vertical synchronization signal Vsync is calculated (step ST6), and the accumulation range is updated to calculate the accumulation delay (step ST7).

次に、算出された累算遅延と破綻累算閾値VTHを比較する(ステップST8)。累算遅延が破綻累算閾値VTHより大きいとき、復号処理において時間的な破綻が発生していると判定し、エラー復帰処理を行う(ステップST9)。エラー復帰処理としては累算遅延に関する内部情報を初期化することや時間的に最も近いIDRピクチャまで復号処理をスキップすること等が考えられる。また、場合によっては復号部41でのエラーコンシール処理も発生する。
エラー復帰処理の後、復号部41に供給されるクロックの周波数が増加するように、周波数指示信号c5をクロック供給部50に出力し、復号部41の動作周波数を増加させる(ステップST10)。これにより、復号処理時間が短縮されるので再度時間的な破綻が発生することが防止される。
Next, the calculated accumulated delay is compared with the failure accumulation threshold VTH (step ST8). When the accumulated delay is greater than the failure accumulation threshold VTH, it is determined that a time failure has occurred in the decoding process, and error recovery processing is performed (step ST9). As error recovery processing, initialization of internal information relating to accumulated delay, skipping decoding processing to the nearest IDR picture, and the like can be considered. In some cases, an error concealment process in the decoding unit 41 also occurs.
After the error recovery process, the frequency instruction signal c5 is output to the clock supply unit 50 so that the frequency of the clock supplied to the decoding unit 41 is increased, and the operating frequency of the decoding unit 41 is increased (step ST10). As a result, since the decoding processing time is shortened, it is possible to prevent another time failure.

なお、ステップST10では、復号部41の動作周波数を上げる代わりに、全てのフレームの復号処理を行うのではなく、IDRピクチャのみを復号処理(間引き処理)するとしても良い。この方法によっても再度時間的な破綻が発生することを防止することができる。   In step ST10, instead of increasing the operating frequency of the decoding unit 41, only the IDR picture may be decoded (decimation process) instead of decoding all the frames. This method can also prevent the occurrence of time failure again.

ステップST8において、累算遅延が破綻累算閾値VTH以下であるとき、累算遅延を余裕累算閾値STHと比較する(ステップST11)。累算遅延が余裕累算閾値STHより小さいとき、復号部41に供給されるクロックの周波数が減少するように、周波数指示信号c5をクロック供給部50に出力し、復号部41の動作周波数を減少させる(ステップST12)。余裕累算閾値STHは、例えば負の値であり、累算遅延が余裕累算閾値STHより小さいとき、復号部41の復号処理に余裕があり、復号部41にアイドル時間が生じていることを示す。このとき、動作周波数を下げることで復号部41の消費電力を低減することができる。   In step ST8, when the accumulated delay is not more than the failure accumulation threshold VTH, the accumulated delay is compared with the margin accumulated threshold STH (step ST11). When the accumulated delay is smaller than the margin accumulated threshold value STH, the frequency instruction signal c5 is output to the clock supply unit 50 so that the frequency of the clock supplied to the decoding unit 41 is decreased, and the operating frequency of the decoding unit 41 is decreased. (Step ST12). The margin accumulation threshold value STH is, for example, a negative value. When the accumulation delay is smaller than the margin accumulation threshold value STH, there is a margin in the decoding process of the decoding unit 41, indicating that the decoding unit 41 has idle time. Show. At this time, the power consumption of the decoding unit 41 can be reduced by lowering the operating frequency.

累算範囲と破綻累算閾値VTHは、1セグ放送の内容や復号部41の性能に応じて調整される。例えば、受信する放送に含まれる映像をある程度の時間復号し、その映像における適切な累算範囲と破綻累算閾値VTHが決定される。例えば、放送に含まれる映像が複雑であって復号処理に時間を要するフレームが多数含まれる場合には、累算範囲のフレーム数を増加させるか、または破綻累算閾値VTHが小さくされる。   The accumulation range and the failure accumulation threshold VTH are adjusted according to the contents of the 1-segment broadcasting and the performance of the decoding unit 41. For example, the video included in the received broadcast is decoded for a certain period of time, and an appropriate accumulation range and failure accumulation threshold VTH in the video are determined. For example, when the video included in the broadcast is complicated and includes many frames that require time for decoding, the number of frames in the accumulation range is increased or the failure accumulation threshold VTH is decreased.

なお、ステップST1〜ステップST7は、本発明の累算遅延算出部で行われる処理の例であり、ステップST8〜ステップST12は、本発明の選択部で行われる処理の例であり、IDRピクチャは本発明の符号化されるとき他のフレームの情報を参照しないフレームの例である。
また、破綻累算閾値VTHは本発明の所定の累算閾値と第2の累算閾値の例であり、余裕累算閾値STHは本発明の所定の累算閾値と第1の累算閾値の例である。
Steps ST1 to ST7 are examples of processing performed by the accumulated delay calculation unit of the present invention. Steps ST8 to ST12 are examples of processing performed by the selection unit of the present invention. It is an example of the frame which does not refer to the information of other frames when being encoded according to the present invention.
The failure accumulation threshold VTH is an example of the predetermined accumulation threshold and the second accumulation threshold according to the present invention, and the margin accumulation threshold STH is an example of the predetermined accumulation threshold and the first accumulation threshold according to the present invention. It is an example.

図6は、本発明の一実施形態に係るフレームの復号間隔に応じた初期化処理の一例を示す図である。
図6では、フレームFR20〜フレームFR23が復号される。フレームFR20の復号開始時刻と復号完了時刻はそれぞれT0とT1である。また、フレームFR21の復号開始時刻と復号完了時刻はそれぞれT2とT3であり、フレームFR22の復号開始時刻と復号完了時刻はそれぞれT4とT5であり、フレームFR23の復号開始時刻と復号完了時刻はそれぞれT6とT7である。
フレームFR20の復号完了時刻T1とフレームFR21の復号開始時刻T2の差分(T2−T1)がフレームFR20とフレームFR21の復号間隔であり、30msである。同様に、フレームFR21とフレームFR22の復号間隔(T4−T3)は100msであり、フレームFR22とフレームFR23の復号間隔(T6−T5)は40msである。
FIG. 6 is a diagram illustrating an example of an initialization process according to a frame decoding interval according to an embodiment of the present invention.
In FIG. 6, frame FR20 to frame FR23 are decoded. The decoding start time and decoding completion time of the frame FR20 are T0 and T1, respectively. Further, the decoding start time and decoding completion time of the frame FR21 are T2 and T3, respectively, the decoding start time and decoding completion time of the frame FR22 are T4 and T5, respectively, and the decoding start time and decoding completion time of the frame FR23 are respectively T6 and T7.
The difference (T2-T1) between the decoding completion time T1 of the frame FR20 and the decoding start time T2 of the frame FR21 is the decoding interval between the frames FR20 and FR21, which is 30 ms. Similarly, the decoding interval (T4-T3) between the frames FR21 and FR22 is 100 ms, and the decoding interval (T6-T5) between the frames FR22 and FR23 is 40 ms.

1セグ放送を受信しているとき、電波の遮断物の存在や電波の反射等の影響によって電波を受信できず、入力ストリームが途切れる場合がある。この場合、図6に示すように、フレームの復号処理の復号間隔が空く。このため、1セグ放送受信装置10では、通常、入力ストリームの途切れ許容時間が規定されている。   When receiving 1-segment broadcasting, radio waves may not be received due to the presence of radio wave obstructions or radio wave reflections, and the input stream may be interrupted. In this case, as shown in FIG. 6, the decoding interval of the frame decoding process is free. For this reason, in the 1-segment broadcast receiving apparatus 10, normally, the allowable break time of the input stream is defined.

そこで、累算範囲を用いて映像の復号処理に要する時間の監視を行うとき、フレームの復号処理の復号間隔が長くなった場合には累算遅延に関する内部情報を初期化し、復号を開始するフレームから累算遅延を算出し直す。これは、フレームの復号処理の間隔が十分に空いていれば、それまでに複雑なフレームの復号処理が頻発し、時間的な破綻が生じようとしていたとしても、この復号間隔の時間により時間的な破綻が避けられるという考え方に基づく。   Therefore, when monitoring the time required for the video decoding process using the accumulation range, if the decoding interval of the frame decoding process becomes long, the internal information regarding the accumulated delay is initialized and the frame for starting decoding Recalculate the accumulated delay from. This is because, if there is a sufficient interval between the decoding processes of frames, even if the decoding process of complex frames has occurred frequently and a time failure is about to occur, the time of this decoding interval will increase the time. This is based on the idea that a major bankruptcy is avoided.

すなわち、直前のフレームの復号処理が完了した時点から、現在のフレームの復号処理を開始する時点までの時間間隔を監視し、間隔閾値ITHを越えていないかどうかを判定する。この間隔閾値ITHは入力ストリームの途切れ許容時間により決定される。
フレームの復号処理の間隔が間隔閾値ITHよりも長い場合、仮に累算遅延が破綻累算閾値VTHを越えそうな値になっていたとしても、累算遅延に関する内部情報を初期化し、復号を開始しようとしているフレームから累算遅延を算出し直す。
That is, the time interval from the time when the decoding process of the immediately previous frame is completed to the time when the decoding process of the current frame is started is monitored, and it is determined whether or not the interval threshold ITH is exceeded. This interval threshold value ITH is determined by the allowable break time of the input stream.
If the frame decoding interval is longer than the interval threshold ITH, even if the accumulated delay is likely to exceed the failure accumulated threshold VTH, the internal information on the accumulated delay is initialized and decoding is started. Recalculate the accumulated delay from the frame you are trying to do.

図6では、間隔閾値ITHを50msとすると、フレームFR21とフレームFR22の復号の復号間隔(T4−T3)は100msであり、間隔閾値ITHよりも長い。このため、フレームFR22の復号を開始するとき、累算遅延に関する内部情報は初期化され、フレームFR22から新たに累算遅延が算出される。   In FIG. 6, when the interval threshold ITH is 50 ms, the decoding interval (T4-T3) for decoding the frames FR21 and FR22 is 100 ms, which is longer than the interval threshold ITH. For this reason, when decoding of the frame FR22 is started, internal information regarding the accumulated delay is initialized, and a new accumulated delay is calculated from the frame FR22.

図7は、本発明の一実施形態に係るフレームの復号間隔に応じた初期化処理のフローチャートを示す図である。
ビデオ制御部42は、最初のフレームの復号を受け付ける(ステップST20)。このとき、受け付けたフレームについて復号処理はまだ実行されていない。
次に、受け付けたフレームを復号し(ステップST21)、そのフレームの復号完了時間を取得する(ステップST22)。復号完了時間はビデオ制御部42に含まれるタイマ421のカウント値を読むことによって取得される。
次に、次のフレームの復号を受け付ける(ステップST23)。このとき、受け付けたフレームについて復号処理はまだ実行されていない。
次に、受け付けたフレームの復号開始時間を取得し(ステップST24)、現在のフレームの復号開始時間から前のフレームの復号完了時間を減算することによりフレームの復号処理の復号間隔を算出する(ステップST25)。
FIG. 7 is a diagram showing a flowchart of initialization processing according to a frame decoding interval according to an embodiment of the present invention.
The video control unit 42 accepts decoding of the first frame (step ST20). At this time, the decoding process has not yet been executed for the accepted frame.
Next, the received frame is decoded (step ST21), and the decoding completion time of the frame is acquired (step ST22). The decoding completion time is obtained by reading the count value of the timer 421 included in the video control unit 42.
Next, the decoding of the next frame is accepted (step ST23). At this time, the decoding process has not yet been executed for the accepted frame.
Next, the decoding start time of the received frame is acquired (step ST24), and the decoding interval of the frame decoding process is calculated by subtracting the decoding completion time of the previous frame from the decoding start time of the current frame (step ST24). ST25).

次に、算出された復号間隔と間隔閾値ITHを比較する(ステップST26)。復号間隔が間隔閾値ITHより大きいとき、累算遅延に関する内部情報を初期化し(ステップST27)、現在のフレームから累算遅延を算出し直す。
ステップST26において、復号間隔が間隔閾値ITH以下であるとき、これまでの累算遅延に関する内部情報を保持する。
Next, the calculated decoding interval is compared with the interval threshold ITH (step ST26). When the decoding interval is larger than the interval threshold ITH, internal information regarding the accumulated delay is initialized (step ST27), and the accumulated delay is recalculated from the current frame.
In step ST26, when the decoding interval is equal to or smaller than the interval threshold ITH, internal information regarding the accumulated delay so far is held.

また、映像の復号処理に要する実際の時間を監視して復号処理の破綻を検出するとともに、省電力モードを設けることも考えられる。例えば、ユーザーによって省電力モードが設定されると、累算遅延とは関係なく、強制的に動作周波数を減少させる。
ただし、動作周波数を下げたことによって復号処理能力が低下し、時間的な破綻が発生することを回避する必要がある。そこで、省電力モードが設定されると、通常行われるような全てのフレームを復号する方法から、IDRピクチャのみを復号する方法に切り替える。
It is also conceivable to monitor the actual time required for video decoding processing to detect failure of the decoding processing and to provide a power saving mode. For example, when the power saving mode is set by the user, the operating frequency is forcibly decreased regardless of the accumulated delay.
However, it is necessary to avoid the occurrence of a temporal failure due to a decrease in the decoding processing capability due to a decrease in the operating frequency. Therefore, when the power saving mode is set, the method is switched from the method of decoding all frames as normally performed to the method of decoding only the IDR picture.

IDRピクチャのみを復号する場合でも、時間的な破綻が発生する可能性がある。このため、映像の復号処理に要する実際の時間を監視して復号処理の破綻を検出する方法を省電力モードと併用することもできる。具体的には、省電力モードでの動作中に復号処理の時間的な破綻を検出した場合、復号部41の動作周波数を増加させる。このとき、モードの再遷移(省電力モードから通常モードへ)に伴い、全フレームを復号するか、または、ある程度の処理時間の把握ができるまではIDRピクチャのみを復号するかを選択できるようにしても良い。   Even when only the IDR picture is decoded, a temporal failure may occur. For this reason, a method of monitoring the actual time required for video decoding processing and detecting failure of the decoding processing can be used in combination with the power saving mode. Specifically, when a temporal failure of the decoding process is detected during the operation in the power saving mode, the operating frequency of the decoding unit 41 is increased. At this time, with the mode transition (from the power saving mode to the normal mode), it is possible to select whether to decode all frames or only the IDR picture until a certain amount of processing time can be grasped. May be.

なお、ステップST25〜ステップST27は、本発明の累算遅延初期化部における処理の例である。また、間隔閾値ITHは本発明の所定の間隔閾値の例である。   Steps ST25 to ST27 are examples of processing in the accumulated delay initialization unit of the present invention. The interval threshold ITH is an example of a predetermined interval threshold according to the present invention.

図8は、本発明の一実施形態に係るビデオ部の構成の一例を示すブロック図である。
ビデオ部40は、復号部41と、ビデオ制御部42と、垂直同期信号部43と、ビデオI/F44とを含む。図1と図8における同一の符号は同一の構成要素を示す。
FIG. 8 is a block diagram showing an example of the configuration of a video unit according to an embodiment of the present invention.
The video unit 40 includes a decoding unit 41, a video control unit 42, a vertical synchronization signal unit 43, and a video I / F 44. 1 and 8 indicate the same components.

垂直同期信号部43と、ビデオI/F44はハードウェア(HW)で実現される。復号部41は、図8ではハードウェアで実現されるとしたが、DSP(Digital Signal Processor)で実現しても良いし、CPU上のソフトウェアとして実現しても良い。   The vertical synchronization signal unit 43 and the video I / F 44 are realized by hardware (HW). Although the decoding unit 41 is realized by hardware in FIG. 8, it may be realized by a DSP (Digital Signal Processor) or software on the CPU.

ビデオ制御部42は、ハードウェアとしてCPUとメモリとタイマ421を含む。ビデオ制御部42に含まれる累算遅延算出部422と、累算遅延初期化部423と、選択部424はソフトウェア(SW)として実現される。   The video control unit 42 includes a CPU, a memory, and a timer 421 as hardware. The accumulated delay calculation unit 422, the accumulated delay initialization unit 423, and the selection unit 424 included in the video control unit 42 are realized as software (SW).

累算遅延算出部422は、新たなフレームが復号されるごとに、このフレームを復号するために要した復号処理時間と垂直同期信号Vsyncの間隔との差である復号遅延を算出し、この新たなフレームとこの新たなフレームが復号される前に復号された所定の数のフレームを含む累算範囲について復号遅延を加算して累算遅延を求める。   Each time a new frame is decoded, the accumulated delay calculation unit 422 calculates a decoding delay that is the difference between the decoding processing time required to decode this frame and the interval of the vertical synchronization signal Vsync. An accumulation delay is obtained by adding a decoding delay to an accumulation range including a new frame and a predetermined number of frames decoded before the new frame is decoded.

累算遅延初期化部423は、前のフレームの復号が完了してから次のフレームの復号が開始されるまでの復号間隔と間隔閾値ITHを比較し、復号間隔が間隔閾値ITHより大きいとき、累算遅延に関する内部情報を初期化し、次のフレームから累算遅延を算出する。   The accumulated delay initialization unit 423 compares the decoding interval from the completion of decoding of the previous frame to the start of decoding of the next frame with the interval threshold ITH, and when the decoding interval is larger than the interval threshold ITH, The internal information about the accumulated delay is initialized, and the accumulated delay is calculated from the next frame.

選択部424は、累算遅延を破綻累算閾値VTHまたは余裕累算閾値STHと比較し、その比較結果に応じて復号処理条件を選択する。復号処理条件は、例えば、復号部41の動作周波数や、全てのフレームを復号するかIDRピクチャのみを復号するかの選択等である。
また、選択部424は、省電力モードが設定されると、IDRピクチャのみを復号する。省電力モードで動作しているときも、累算遅延算出部422と累算遅延初期化部423は動作しており、復号処理の時間的な破綻を検出すると、選択部424は復号部41の動作周波数を増加させる。
The selection unit 424 compares the accumulated delay with the failure accumulation threshold VTH or the margin accumulation threshold STH, and selects a decoding processing condition according to the comparison result. Decoding processing conditions include, for example, the operating frequency of the decoding unit 41, selection of whether to decode all frames or only IDR pictures, and the like.
In addition, when the power saving mode is set, the selection unit 424 decodes only the IDR picture. Even when operating in the power saving mode, the accumulated delay calculating unit 422 and the accumulated delay initializing unit 423 are operating, and when the temporal failure of the decoding process is detected, the selecting unit 424 Increase operating frequency.

なお、累算遅延算出部422は本発明の累算遅延算出部の例であり、累算遅延初期化部423は本発明の累算遅延初期化部の例であり、選択部424は本発明の選択部の例である。   The accumulated delay calculation unit 422 is an example of the accumulated delay calculation unit of the present invention, the accumulated delay initialization unit 423 is an example of the accumulated delay initialization unit of the present invention, and the selection unit 424 is the present invention. It is an example of a selection part.

また、1セグ放送信号には音声も含まれるが、上述した映像の復号処理条件の変更は音声の復号には影響しないので、音声を復号する部分について初期化等の処理は必要ない。   In addition, although the 1-segment broadcasting signal includes audio, the change in the video decoding process condition described above does not affect the audio decoding, and therefore, processing such as initialization is not necessary for the audio decoding portion.

以上説明したように、本発明によれば、映像の復号処理時間を内部的に監視し、復号処理に要した実際の時間に基づいて、復号処理が時間的に破綻したことや復号処理に余裕があることを判定し、判定結果に応じた条件で映像を復号することができる。このため、復号されるフレームの複雑さに応じて復号部41の動作周波数を動的に変更したり、全てのフレームを復号するかIDRピクチャのみを復号するかを選択することが可能となる。   As described above, according to the present invention, the video decoding processing time is internally monitored, and based on the actual time required for the decoding processing, the decoding processing has failed in time and the decoding processing has a margin. It is possible to determine that there is a video and decode the video under conditions according to the determination result. Therefore, it is possible to dynamically change the operating frequency of the decoding unit 41 according to the complexity of the frame to be decoded, or to select whether to decode all frames or only the IDR picture.

なお、上記では1セグ放送受信装置を例として説明したが、本発明は移動体向け衛星放送やIP(インターネット・プロトコル)方式によるネットワークを経由する放送の受信装置等にも適用することができる。   In the above description, the 1-segment broadcasting receiving apparatus has been described as an example. However, the present invention can also be applied to a satellite broadcasting for mobile objects and a broadcasting receiving apparatus via a network based on the IP (Internet Protocol) system.

以上、本発明の実施形態について説明したが、設計上の都合やその他の要因によって必要となる様々な修正や組み合わせは、請求項に記載されている発明や発明の実施形態に記載されている具体例に対応する発明の範囲に含まれると理解されるべきである。   Although the embodiments of the present invention have been described above, various modifications and combinations necessary for design reasons and other factors are described in the inventions described in the claims and the specific embodiments described in the embodiments of the invention. It should be understood that it falls within the scope of the invention corresponding to the examples.

本発明の一実施形態に係る1セグ放送受信装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the 1-segment broadcast receiver which concerns on one Embodiment of this invention. 1セグ放送信号の受信から映像出力までの映像信号の変化の一例を示す図である。It is a figure which shows an example of the change of the video signal from reception of 1 segment broadcast signal to video output. 本発明の一実施形態に係る映像の復号処理に要する実際の時間に基づいて復号処理が破綻していないと判定される例を示す図である。It is a figure which shows the example determined with the decoding process not failing based on the actual time which the decoding process of the image | video which concerns on one Embodiment of this invention requires. 本発明の一実施形態に係る映像の復号処理に要する実際の時間に基づいて復号処理が破綻したと判定される例を示す図である。It is a figure which shows the example determined with the decoding process having failed based on the actual time which the decoding process of the image | video which concerns on one Embodiment of this invention requires. 本発明の一実施形態に係る復号部の動作周波数を変更する処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process which changes the operating frequency of the decoding part which concerns on one Embodiment of this invention. 本発明の一実施形態に係るフレームの復号間隔に応じた初期化処理の一例を示す図である。It is a figure which shows an example of the initialization process according to the decoding interval of the frame which concerns on one Embodiment of this invention. 本発明の一実施形態に係るフレームの復号間隔に応じた初期化処理のフローチャートを示す図である。It is a figure which shows the flowchart of the initialization process according to the decoding interval of the frame which concerns on one Embodiment of this invention. 本発明の一実施形態に係るビデオ部の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the video part which concerns on one Embodiment of this invention.

符号の説明Explanation of symbols

20…チューナ部、32…Demux、41…復号部、42…ビデオ制御部、421…タイマ、422…累算遅延算出部、423…累算遅延初期化部、424…選択部、43…垂直同期信号部、50…クロック供給部 DESCRIPTION OF SYMBOLS 20 ... Tuner part, 32 ... Demux, 41 ... Decoding part, 42 ... Video control part, 421 ... Timer, 422 ... Accumulated delay calculation part, 423 ... Accumulated delay initialization part, 424 ... Selection part, 43 ... Vertical synchronization Signal unit, 50... Clock supply unit

Claims (12)

新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出し、当該新たなフレームと当該新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、当該新たなフレームの復号遅延と当該所定の数の連続するフレームの復号遅延を加算して累算遅延を求める累算遅延算出部と、
前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択する選択部と
を含む制御部と、
前記所定の復号処理条件で映像を復号する復号部と
を有する映像復号装置。
Each time a new frame is decoded, a decoding delay that is the difference between the decoding processing time required to decode the new frame and the input interval of the predetermined interrupt signal is calculated, and the new frame and the new frame are calculated. For an accumulation range that includes a predetermined number of consecutive frames decoded before a new frame is decoded, add the decoding delay of the new frame and the decoding delay of the predetermined number of consecutive frames to accumulate An accumulated delay calculation unit for obtaining a delay;
A control unit including: a selection unit that compares the accumulated delay with a predetermined accumulation threshold and selects a predetermined decoding processing condition according to the comparison result;
A video decoding device comprising: a decoding unit configured to decode video under the predetermined decoding processing condition.
前記制御部が、前のフレームの復号が完了してから次のフレームの復号が開始されるまでの復号間隔と所定の間隔閾値を比較し、当該復号間隔が当該間隔閾値より大きいとき、前記累算遅延に関する内部情報を初期化し、前記累算遅延算出部に当該次のフレームから累算遅延を算出させる累算遅延初期化部を含む
請求項1に記載の映像復号装置。
The control unit compares the decoding interval from the completion of decoding of the previous frame to the start of decoding of the next frame with a predetermined interval threshold, and when the decoding interval is greater than the interval threshold, The video decoding apparatus according to claim 1, further comprising: an accumulated delay initialization unit that initializes internal information relating to an arithmetic delay and causes the accumulated delay calculation unit to calculate an accumulated delay from the next frame.
周波数指示信号に応じた周波数のクロックを前記復号部に供給するクロック供給部を有し、
前記選択部が、前記復号処理条件として、前記復号部に供給すべきクロックの周波数を選択し、当該選択された周波数に応じたクロックを供給するように、前記周波数指示信号を前記クロック供給部に出力する
請求項2に記載の映像復号装置。
A clock supply unit that supplies a clock having a frequency according to a frequency instruction signal to the decoding unit;
The selection unit selects the frequency of a clock to be supplied to the decoding unit as the decoding processing condition, and supplies the frequency instruction signal to the clock supply unit so as to supply a clock according to the selected frequency. The video decoding device according to claim 2, which outputs the video decoding device.
前記選択部は、前記累算遅延が前記所定の累算閾値より大きいとき、前記復号部に供給されるクロックの周波数が増加するように、前記周波数指示信号を前記クロック供給部に出力する
請求項3に記載の映像復号装置。
The selection unit outputs the frequency instruction signal to the clock supply unit so that a frequency of a clock supplied to the decoding unit increases when the accumulated delay is larger than the predetermined accumulation threshold. 4. The video decoding device according to 3.
前記選択部は、前記累算遅延が前記所定の累算閾値より小さいとき、前記復号部に供給されるクロックの周波数が減少するように、前記周波数指示信号を前記クロック供給部に出力する
請求項3に記載の映像復号装置。
The selection unit outputs the frequency instruction signal to the clock supply unit so that a frequency of a clock supplied to the decoding unit decreases when the accumulated delay is smaller than the predetermined accumulation threshold. 4. The video decoding device according to 3.
前記選択部は、
前記累算遅延が第1の累算閾値より小さいとき、前記復号部に供給されるクロックの周波数が減少するように、前記周波数指示信号を前記クロック供給部に出力し、
前記累算遅延が前記第1の累算閾値以上であり、かつ第2の累算閾値以下であるとき、前記復号部に供給されるクロックの周波数が維持されるように、前記周波数指示信号を前記クロック供給部に出力し、
前記累算遅延が前記第2の累算閾値より大きいとき、前記復号部に供給されるクロックの周波数が増加するように、前記周波数指示信号を前記クロック供給部に出力する
請求項3に記載の映像復号装置。
The selection unit includes:
When the accumulated delay is smaller than a first accumulated threshold, the frequency instruction signal is output to the clock supply unit so that the frequency of the clock supplied to the decoding unit is decreased.
When the accumulated delay is greater than or equal to the first accumulated threshold and less than or equal to the second accumulated threshold, the frequency indicating signal is set so that the frequency of the clock supplied to the decoding unit is maintained. Output to the clock supply unit,
The frequency instruction signal is output to the clock supply unit so that the frequency of the clock supplied to the decoding unit increases when the accumulated delay is larger than the second accumulation threshold. Video decoding device.
前記選択部が、前記累算遅延が前記所定の累算閾値より大きいとき、前記復号処理条件として、符号化されるとき他のフレームの情報を参照しないフレームを復号することを選択する
請求項2に記載の映像復号装置。
The selection unit selects decoding of a frame that does not refer to information of another frame when being encoded as the decoding processing condition when the accumulated delay is greater than the predetermined accumulation threshold. The video decoding device according to 1.
前記選択部が、省電力モードが設定されると、前記復号処理条件として、符号化されるとき他のフレームの情報を参照しないフレームを復号することを選択する
請求項2に記載の映像復号装置。
3. The video decoding device according to claim 2, wherein when the power saving mode is set, the selection unit selects to decode a frame that does not refer to information of another frame when being encoded, as the decoding processing condition. .
垂直同期信号が発生し、または当該垂直同期信号が入力すると、前記制御部に入力される前記所定の割り込み信号を生成し、前記所定の割り込み信号によって前記制御部に前記垂直同期信号が発生または入力したことを通知する垂直同期信号部を有し、
前記制御部が、前記復号処理時間と、前記所定の割り込み信号の入力間隔と、前記復号間隔を測定するタイマを含む
請求項2に記載の映像復号装置。
When the vertical synchronization signal is generated or the vertical synchronization signal is input, the predetermined interrupt signal to be input to the control unit is generated, and the vertical synchronization signal is generated or input to the control unit by the predetermined interrupt signal Has a vertical sync signal section to notify
The video decoding device according to claim 2, wherein the control unit includes a timer that measures the decoding processing time, an input interval of the predetermined interrupt signal, and the decoding interval.
映像を復号する復号部を含む映像復号装置における映像復号方法であって、
新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出するステップと、
前記新たなフレームと前記新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、前記新たなフレームの復号遅延と前記所定の数の連続するフレームの復号遅延を加算して累算遅延を求めるステップと、
前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択するステップと、
前記復号部が、前記所定の復号処理条件で復号処理を行うステップと
を有する映像復号方法。
A video decoding method in a video decoding device including a decoding unit for decoding video,
Each time a new frame is decoded, calculating a decoding delay that is a difference between a decoding processing time required to decode the new frame and an input interval of a predetermined interrupt signal;
For the accumulation range including the new frame and a predetermined number of consecutive frames decoded before the new frame is decoded, the decoding delay of the new frame and the decoding of the predetermined number of consecutive frames Adding a delay to obtain an accumulated delay;
Comparing the accumulated delay with a predetermined accumulated threshold and selecting a predetermined decoding processing condition according to the comparison result;
A video decoding method comprising: the decoding unit performing a decoding process under the predetermined decoding process condition.
映像を復号する処理をコンピュータに実行させる映像復号プログラムであって、
新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出するステップと、
前記新たなフレームと前記新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、前記新たなフレームの復号遅延と前記所定の数の連続するフレームの復号遅延を加算して累算遅延を求めるステップと、
前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて所定の復号処理条件を選択するステップと、
前記所定の復号処理条件で復号処理を行うステップと
をコンピュータに実行させる映像復号プログラム。
A video decoding program for causing a computer to execute a video decoding process,
Each time a new frame is decoded, calculating a decoding delay that is a difference between a decoding processing time required to decode the new frame and an input interval of a predetermined interrupt signal;
For the accumulation range including the new frame and a predetermined number of consecutive frames decoded before the new frame is decoded, the decoding delay of the new frame and the decoding of the predetermined number of consecutive frames Adding a delay to obtain an accumulated delay;
Comparing the accumulated delay with a predetermined accumulated threshold and selecting a predetermined decoding processing condition according to the comparison result;
A video decoding program that causes a computer to execute a decoding process under the predetermined decoding process condition.
入力ストリームを含む放送信号を受信する受信部と、
前記入力ストリームから符号化された映像を分離する分離部と、
所定の復号処理条件を選択する制御部と、
前記所定の復号処理条件で映像を復号する復号部と
を有し、
前記制御部が、
新たなフレームが復号されるごとに、当該新たなフレームを復号するために要した復号処理時間と所定の割り込み信号の入力間隔との差である復号遅延を算出し、当該新たなフレームと当該新たなフレームが復号される前に復号された所定の数の連続するフレームを含む累算範囲について、当該新たなフレームの復号遅延と当該所定の数の連続するフレームの復号遅延を加算して累算遅延を求める累算遅延算出部と、
前記累算遅延を所定の累算閾値と比較し、当該比較結果に応じて前記所定の復号処理条件を選択する選択部と
を含む
放送信号受信装置。
A receiver for receiving a broadcast signal including an input stream;
A separation unit for separating the encoded video from the input stream;
A control unit for selecting predetermined decoding processing conditions;
A decoding unit for decoding video under the predetermined decoding processing conditions,
The control unit is
Each time a new frame is decoded, a decoding delay that is the difference between the decoding processing time required to decode the new frame and the input interval of the predetermined interrupt signal is calculated, and the new frame and the new frame are calculated. For an accumulation range that includes a predetermined number of consecutive frames decoded before a new frame is decoded, add the decoding delay of the new frame and the decoding delay of the predetermined number of consecutive frames to accumulate An accumulated delay calculation unit for obtaining a delay;
A broadcast signal receiving apparatus comprising: a selection unit that compares the accumulated delay with a predetermined accumulated threshold value and selects the predetermined decoding processing condition according to the comparison result.
JP2007174178A 2007-07-02 2007-07-02 Device, method and program for decoding video and device for receiving broadcasting signal Pending JP2009017014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007174178A JP2009017014A (en) 2007-07-02 2007-07-02 Device, method and program for decoding video and device for receiving broadcasting signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007174178A JP2009017014A (en) 2007-07-02 2007-07-02 Device, method and program for decoding video and device for receiving broadcasting signal

Publications (1)

Publication Number Publication Date
JP2009017014A true JP2009017014A (en) 2009-01-22

Family

ID=40357404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007174178A Pending JP2009017014A (en) 2007-07-02 2007-07-02 Device, method and program for decoding video and device for receiving broadcasting signal

Country Status (1)

Country Link
JP (1) JP2009017014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945221A (en) * 2014-04-09 2014-07-23 浙江大学 Video encoding and decoding method and device and generated video code stream

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945221A (en) * 2014-04-09 2014-07-23 浙江大学 Video encoding and decoding method and device and generated video code stream

Similar Documents

Publication Publication Date Title
US10785529B2 (en) Anticipatory video signal reception and processing
US6636270B2 (en) Clock slaving methods and arrangements
US7778277B2 (en) Timing recovery method and system thereof
CN105409229B (en) Information processing apparatus and information processing method
US20130219073A1 (en) Adaptive display streams
US7327789B2 (en) Decoding apparatus, decoding method, decoding program, and decoding program storage medium
JP2009111932A (en) Moving image decoding device
JP2005123789A (en) Av synchronization system
CN106470291A (en) Recover in the interruption in time synchronized from audio/video decoder
JP2009200938A (en) Buffer controller and receiver
US7706400B2 (en) Transport stream processing device and transport stream processing method
US20090096921A1 (en) Image processing apparatus, method, program, and recording medium
US8126018B2 (en) Decoding circuit
US6687305B1 (en) Receiver, CPU and decoder for digital broadcast
KR100640885B1 (en) Video buffer controlling apparatus for dual video decoding
JP2009017014A (en) Device, method and program for decoding video and device for receiving broadcasting signal
US7184450B1 (en) System and method for decoding audio/video data such as DVD or/and DVB data
US20040190628A1 (en) Video information decoding apparatus and method
US20100329354A1 (en) Systems and methods for achieving optimal digital video channel change performance
JP4208116B2 (en) Decoding device, decoding method, decoding program, and decoding program recording medium
JP2002290384A (en) Active/standby changeover device for digital broadcast program transmission system
JP2008092180A (en) Digital broadcast receiver and receiving program
US20080091438A1 (en) Audio signal decoder and resource access control method
US20090074376A1 (en) Apparatus and method for efficient av synchronization
JP2001309371A (en) Mpeg decoder