JP2008148004A - Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored - Google Patents

Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored Download PDF

Info

Publication number
JP2008148004A
JP2008148004A JP2006332869A JP2006332869A JP2008148004A JP 2008148004 A JP2008148004 A JP 2008148004A JP 2006332869 A JP2006332869 A JP 2006332869A JP 2006332869 A JP2006332869 A JP 2006332869A JP 2008148004 A JP2008148004 A JP 2008148004A
Authority
JP
Japan
Prior art keywords
decoding
video
synchronization
error
video data
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
JP2006332869A
Other languages
Japanese (ja)
Inventor
Taro Asakawa
太郎 浅川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pioneer Corp
Original Assignee
Pioneer Electronic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP2006332869A priority Critical patent/JP2008148004A/en
Publication of JP2008148004A publication Critical patent/JP2008148004A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the effect of decode errors on error TS packet, even if there is an error TS packet among TS packets received by a digital broadcasting receiver or a video decoder. <P>SOLUTION: When a decode error is generated due to an error TS packet, in the video decoder 4 of the digital broadcast receiver 1, an error-time start code search portion 10 reads a slice start code decoded, prior to the occurrence of the decode error from an ES buffer 5 and detects the next slice start code from the position of the read-out slice start code by reading the video data by byte units; and then, decoding is resumed from the detected slice start code in a VLC decode processing portion 6, a video data decode processing portion 7, and a syntax analysis portion 8. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、デジタル放送で用いられる符号化された映像データを復号する映像復号装置、映像復号方法、映像復号プログラム、映像復号プログラムを格納した記録媒体および映像復号装置を備えたデジタル放送受信機に関する。   The present invention relates to a video decoding device for decoding encoded video data used in digital broadcasting, a video decoding method, a video decoding program, a recording medium storing the video decoding program, and a digital broadcast receiver including the video decoding device. .

音声や動画像をデジタル化して伝送する際に符号化する符号化方式として、MPEG(Moving Picture Experts Group)−2が知られている。MPEG−2では音声や映像の符号化方式の他に、符号化された映像や音声および付加データなどを多重化し、それぞれの同期を取りながら伝送、再生するための方式としてMPEG−2システムが規定されている。   MPEG (Moving Picture Experts Group) -2 is known as an encoding method for encoding audio and moving images when digitized and transmitted. In MPEG-2, in addition to audio and video encoding methods, the MPEG-2 system defines a method for multiplexing encoded video, audio, and additional data, and transmitting and reproducing them in synchronization with each other. Has been.

MPEG−2システムでは、符号化された映像データや音声データ(ES:Elementary Stream)をPES(Packetized Elementary Stream)パケットと呼ばれるパケットに格納する。図1にPESパケットの構造を示す。PESパケットは、PTS(Presentation Time Stamp)と呼ばれる時間情報などが含まれるPESパケットヘッダと、ESが格納されるPESパケットペイロードとからなる可変長のパケットである。   In the MPEG-2 system, encoded video data and audio data (ES: Elementary Stream) are stored in a packet called a PES (Packetized Elementary Stream) packet. FIG. 1 shows the structure of the PES packet. The PES packet is a variable-length packet including a PES packet header including time information called PTS (Presentation Time Stamp) and a PES packet payload in which ES is stored.

そして、PESパケットをTS(Transport Stream)パケットと呼ばれる一定長に区切ったパケットに分割し、その後地上デジタル放送の場合はOFDM(Orthogonal Frequency Division Multiplexing)変調の後送信される。受信側では、受信した信号をOFDM復調しTSパケットからPESパケットを復元し、PESパケットペイロードからESを取り出して復号を行う。   Then, the PES packet is divided into packets that are divided into fixed lengths called TS (Transport Stream) packets, and then transmitted after OFDM (Orthogonal Frequency Division Multiplexing) modulation in the case of terrestrial digital broadcasting. On the receiving side, the received signal is OFDM demodulated, the PES packet is restored from the TS packet, and the ES is extracted from the PES packet payload and decoded.

地上デジタル放送の場合、電波でデータが伝送されることから受信状況によってエラーが発生することがある。伝送中に発生したエラーは、OFDM復調時にリードソロモン符号の誤り訂正によって訂正されるが、エラーによっては訂正しきれない場合がある。この場合のOFDM復調処理は、TSヘッダのtransport_error_indicator(TSパケットの誤りを示すビットフィールド)に1をセットしTSパケットを生成する。   In the case of terrestrial digital broadcasting, since data is transmitted by radio waves, an error may occur depending on the reception status. Errors that occur during transmission are corrected by error correction of the Reed-Solomon code during OFDM demodulation, but may not be corrected depending on the error. In the OFDM demodulation processing in this case, 1 is set in transport_error_indicator (bit field indicating an error of the TS packet) of the TS header to generate a TS packet.

一般的なデジタル放送受信機では、OFDM復調処理によって生成されたTSパケットからESを生成する処理は、TSデマルチプレクサが行う。そのTSデマルチプレクサでは、TSヘッダのtransport_error_indicatorに1がセットされたTSパケット(エラーTSパケット)を検出した場合、そのエラーTSパケットを破棄し、エラーではない正常なTSパケットを繋ぎ合わせることによってESを生成する。従って、ESを復号(デコード)する復号器(デコーダ)では廃棄されたエラーTSパケットに含まれていたESのデータを除いて入力される。例えば図2を参照して説明すると、エラーTSパケットがTSパケット2だった場合に、TSパケット1のESに続けてTSパケット3のESがデコーダに入力されることとなる。デコーダはエラーが発生したことを検知できないために入力されたデータを順次デコードしてしまう。しかしながらTSパケット1のESとTSパケット3のESとは本来連続して入力されるべきデータではないために、データの不連続点が発生し、可変長符号(VLC:Variable Length Coding)の復号時に不連続点を跨いで読み込まれたビットの並びやそれ以降のビットの並びがMPEG−2ビデオで規定されたVLCに該当するビットの並びであったとしても、それは本来の符号化データを示すものではないためにいずれデコード動作の辻褄が合わなくなりデコードエラーとなってしまう。   In a general digital broadcast receiver, processing for generating an ES from a TS packet generated by OFDM demodulation processing is performed by a TS demultiplexer. When the TS demultiplexer detects a TS packet (error TS packet) with 1 set in the transport_error_indicator of the TS header, the error TS packet is discarded, and a normal TS packet that is not an error is joined together to set the ES. Generate. Accordingly, a decoder (decoder) that decodes (decodes) ES is input except for the ES data included in the discarded error TS packet. For example, referring to FIG. 2, when the error TS packet is TS packet 2, ES of TS packet 3 is input to the decoder after ES of TS packet 1. Since the decoder cannot detect that an error has occurred, it sequentially decodes the input data. However, since the ES of TS packet 1 and the ES of TS packet 3 are not data that should be input continuously, data discontinuity occurs, and a variable length code (VLC) is decoded. Even if the sequence of bits read across the discontinuous points and the sequence of subsequent bits are the sequence of bits corresponding to the VLC specified in MPEG-2 video, it indicates the original encoded data. Since this is not the case, the error in the decoding operation will eventually fail and a decoding error will occur.

デコードエラーが発生した場合は、MPEG−2ビデオで規定された同期を示す情報であるスタートコードが検出されるまでデコードを停止し、スタートコードが検出されてからデコードを再開していた。したがって、スタートコードが検出されるまでは正常な映像が表示されなかった。   When a decoding error occurs, decoding is stopped until a start code that is information indicating synchronization defined in MPEG-2 video is detected, and decoding is resumed after the start code is detected. Therefore, a normal image was not displayed until the start code was detected.

また、エラーTSパケットの後のTSパケットのESデータにスタートコードの全部または一部が含まれていた場合は、前記した不連続点の影響によりビットがずれて読まれてしまうことがあるためにスタートコードが正しく認識できないことがあった。   Also, if all or part of the start code is included in the ES data of the TS packet after the error TS packet, the bits may be read out of position due to the influence of the discontinuity point. The start code could not be recognized correctly.

スタートコードとはMPEG−2のビットストリームにおいてシーケンスやピクチャおよびスライス毎などに付加されている映像を表示する際の同期を取るためのデータ(情報)である。このため、スタートコードが認識できないと、認識できるスタートコードまで正常な映像が表示できないので、正常でない映像が広範囲となってしまうことがある。MPEG−2ではフレーム間符号化を行っているので、あるフレームで正常でない映像となってしまうと、その影響が複数フレームに渡ってしまうことがあり、結果として映像品質を著しく落としてしまうことがあった。   The start code is data (information) for obtaining synchronization when displaying a video added to each sequence, picture, slice, or the like in the MPEG-2 bit stream. For this reason, if the start code cannot be recognized, a normal video image cannot be displayed up to the recognizable start code, and thus an abnormal video image may become wide-ranging. Since MPEG-2 performs inter-frame coding, if an image is not normal in a certain frame, the effect may be spread over a plurality of frames, resulting in a significant decrease in image quality. there were.

このような地上デジタル放送などにおける受信時のエラー対策として、例えば特許文献1に記載のデジタル放送受信機が提案されている。特許文献1に記載のデジタル放送受信機は複数の受信機を備え、一つの受信機が受信したTSパケットにエラーが発生した時には他の受信機が受信したTSパケットを用いてデコードを行っている。
特開2006−197167号公報
For example, a digital broadcast receiver described in Patent Document 1 has been proposed as a countermeasure against errors during reception in such digital terrestrial broadcasting. The digital broadcast receiver described in Patent Document 1 includes a plurality of receivers, and when an error occurs in a TS packet received by one receiver, decoding is performed using the TS packet received by another receiver. .
JP 2006-197167 A

特許文献1に記載のデジタル放送受信機では、受信機を複数用意しなければならず、装置の小型化が困難になってしまう。また、全ての受信機でエラーが発生した場合は、結局エラーTSパケットが発生してしまい、デコードエラーによってスタートコードが検出されるまで正常な映像が表示できない問題が発生してしまう。   In the digital broadcast receiver described in Patent Document 1, a plurality of receivers must be prepared, which makes it difficult to reduce the size of the apparatus. In addition, when an error occurs in all receivers, an error TS packet eventually occurs, and a problem that a normal video cannot be displayed until a start code is detected due to a decoding error occurs.

そこで、本発明は、例えばエラーTSパケットが発生しても、エラーTSパケットによるデコードエラーの影響を少なくするような映像復号装置、映像復号方法、映像復号プログラム、映像復号プログラムを格納した記録媒体および映像復号装置を備えたデジタル放送受信機を提供することを課題とする。   Accordingly, the present invention provides a video decoding apparatus, a video decoding method, a video decoding program, a recording medium storing a video decoding program, and a video decoding program that reduce the influence of a decoding error caused by an error TS packet even if an error TS packet occurs, for example. It is an object of the present invention to provide a digital broadcast receiver including a video decoding device.

上記課題を解決するために、請求項1に記載の映像復号装置は、符号化された映像データが入力され、該映像データを復号する復号手段を備えた映像復号装置において、前記符号化された映像データを所定量記憶する記憶手段と、前記記憶手段に記憶した前記符号化された映像データに含まれる同期を示す情報を検出する同期情報検出手段と、前記復号手段が復号エラーを検出した際に、前記復号エラーが検出される前に前記復号手段が復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出するエラー時同期情報検出手段と、を備え、前記復号手段が、前記エラー時同期情報検出手段が検出した前記同期を示す情報から映像データの復号を行うことを特徴としている。   In order to solve the above-mentioned problem, the video decoding device according to claim 1, wherein the encoded video data is input, and the video decoding device includes decoding means for decoding the video data. Storage means for storing a predetermined amount of video data; synchronization information detection means for detecting information indicating synchronization included in the encoded video data stored in the storage means; and when the decoding means detects a decoding error Error-time synchronization information detecting means for detecting information indicating the next synchronization from the position of the information indicating the synchronization decoded by the decoding means before the decoding error is detected, and the decoding means However, the video data is decoded from the information indicating the synchronization detected by the error-time synchronization information detecting means.

請求項6に記載の映像復号方法は、符号化された映像データが入力され、該映像データを復号する映像復号方法において、前記映像データを所定量記憶し、前記記憶した前記符号化された映像データを読み出して該映像データを復号し、復号エラーを検出した際に、前記復号エラーが検出される前に復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出して、検出された前記次の同期を示す情報から復号することを特徴としている。   The video decoding method according to claim 6, wherein encoded video data is input, and the video data is decoded, the video data is stored in a predetermined amount, and the stored encoded video is stored. When data is read and the video data is decoded and a decoding error is detected, the next information indicating the synchronization is detected from the position of the information indicating the synchronization decoded before the decoding error is detected. And decoding from the detected information indicating the next synchronization.

請求項7に記載の映像復号プログラムは、符号化された映像データが入力され、該映像データを復号する復号手段としてコンピュータに機能させる映像復号プログラムにおいて、前記符号化された映像データを所定量記憶する記憶手段と、前記記憶手段に記憶した前記符号化された映像データに含まれる同期を示す情報を検出する同期情報検出手段と、前記復号手段が復号エラーを検出した際に、前記復号エラーが検出される前に前記復号手段が復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出するエラー時同期情報検出手段としてコンピュータに機能させるとともに、前記復号手段が、前記エラー時同期情報検出手段が検出した前記同期を示す情報から映像データの復号を行うことを特徴としている。   The video decoding program according to claim 7, wherein encoded video data is input, and a video decoding program for causing a computer to function as decoding means for decoding the video data stores a predetermined amount of the encoded video data. Storage means, synchronization information detection means for detecting information indicating synchronization included in the encoded video data stored in the storage means, and when the decoding means detects a decoding error, the decoding error is detected. Causing the computer to function as error-time synchronization information detecting means for detecting the next information indicating the synchronization from the position of the information indicating the synchronization decoded by the decoding means before being detected, and the decoding means includes the error The video data is decoded from the information indicating the synchronization detected by the time synchronization information detecting means.

以下、本発明の一実施形態にかかる映像復号装置を説明する。本発明の一実施形態にかかる映像復号装置は、復号手段が復号エラーを検出したときには、復号エラーが検出される前に復号手段が復号した同期を示す情報の位置から次の同期を示す情報をエラー時同期情報検出手段が検出し、検出された次の同期を示す情報から復号手段が復号する。このようにすることにより、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実に次の同期を示す情報を検出することができるので復号エラーによる表示画像の影響を少なくすることができる。   Hereinafter, a video decoding apparatus according to an embodiment of the present invention will be described. When the decoding means detects a decoding error, the video decoding apparatus according to an embodiment of the present invention obtains information indicating the next synchronization from the position of the information indicating the synchronization decoded by the decoding means before the decoding error is detected. The synchronization information detecting means at the time of error detects and the decoding means decodes from the detected information indicating the next synchronization. In this way, when the information indicating the next synchronization cannot be recognized due to the error TS packet, the information indicating the next synchronization can be reliably detected, so that the influence of the display image due to the decoding error is reduced. be able to.

また、エラー時同期情報検出手段が、記憶手段からバイト単位に前記映像データを読み出して同期を示す情報を検出してもよい。このようにすることにより、同期を示す情報間がバイトアライメントされていれば、早期に同期を示す情報を検出することができる。   Further, the error-time synchronization information detection means may read the video data in byte units from the storage means and detect information indicating synchronization. By doing in this way, if the information indicating the synchronization is byte-aligned, the information indicating the synchronization can be detected at an early stage.

また、記憶手段が、少なくとも同期を示す情報から次に検出された同期を示す情報までを記憶してもよい。このようにすることにより、同期を示す情報を検出する動作に最低限必要な容量とすることができる。   The storage means may store at least information indicating synchronization to information indicating the next detected synchronization. By doing in this way, it is possible to make the capacity minimum necessary for the operation of detecting information indicating synchronization.

また、過去に復号した映像データを記憶する映像記憶手段を備え、復号手段が、復号エラーを検出した際に、復号エラーが検出される直前に復号された同期を示す情報から次の同期を示す情報の直前までの映像を映像記憶手段に記憶した映像データに置き換えてもよい。このようにすることにより、復号エラーが検出され、正常な映像が出力できない部分に対して過去の映像を表示するので、表示された映像における復号エラーの影響を少なくすることができる。   In addition, video storage means for storing video data decoded in the past is provided, and when the decoding means detects a decoding error, it indicates the next synchronization from the information indicating the synchronization decoded immediately before the decoding error is detected. The video up to immediately before the information may be replaced with video data stored in the video storage means. By doing so, since the past video is displayed on the portion where the decoding error is detected and the normal video cannot be output, the influence of the decoding error on the displayed video can be reduced.

また、デジタル放送受信機に請求項1乃至4のうちいずれか一項に記載の映像復号装置を備えてもよい。このようにすることにより、エラーTSパケットによる復号エラーの影響が少ないデジタル放送受信機とすることができる。   The digital broadcast receiver may include the video decoding device according to any one of claims 1 to 4. In this way, a digital broadcast receiver that is less affected by decoding errors due to error TS packets can be obtained.

また、本発明の一実施形態にかかる映像復号方法は、復号エラーが検出されたときには、復号エラーが検出される前に復号した同期を示す情報の位置から次の同期を示す情報を検出し、検出した次の同期を示す情報から復号させるようにする。このようにすることにより、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実に次の同期を示す情報を検出することができるので復号エラーによる表示画像の影響を少なくすることができる。   Further, the video decoding method according to an embodiment of the present invention detects information indicating the next synchronization from the position of the information indicating the synchronization decoded before the decoding error is detected when the decoding error is detected, It is made to decode from the information which shows the detected next synchronization. In this way, when the information indicating the next synchronization cannot be recognized due to the error TS packet, the information indicating the next synchronization can be reliably detected, so that the influence of the display image due to the decoding error is reduced. be able to.

また、本発明の一実施形態にかかる映像復号プログラムは、復号手段が復号エラーを検出したときには、復号エラーが検出される前に復号手段が復号した同期を示す情報の位置から次の同期を示す情報をエラー時同期情報検出手段が検出し、検出された次の同期を示す情報から復号手段が復号する。このようにすることにより、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実に次の同期を示す情報を検出することができるので復号エラーによる表示画像の影響を少なくすることができる。   The video decoding program according to an embodiment of the present invention indicates the next synchronization from the position of the information indicating the synchronization decoded by the decoding unit before the decoding error is detected when the decoding unit detects the decoding error. The error synchronization information detecting means detects the information, and the decoding means decodes the detected information indicating the next synchronization. In this way, when the information indicating the next synchronization cannot be recognized due to the error TS packet, the information indicating the next synchronization can be reliably detected, so that the influence of the display image due to the decoding error is reduced. be able to.

また、請求項7に記載の映像復号プログラムを記録媒体に格納してもよい。このようにすることにより、映像復号プログラムを機器に組み込む以外に単体でも流通させることができる。   The video decoding program according to claim 7 may be stored in a recording medium. In this way, the video decoding program can be distributed alone as well as incorporated in the device.

本発明の一実施例にかかるデジタル放送受信機1を図1乃至図5を参照して説明する。デジタル放送受信装置1は、MPEG−2で符号化されOFDM変調されて送信された放送波を受信し該放送波に含まれる映像や音声を表示・再生する装置であり、図3に示すように復調部2と、TSデマルチプレクサ3と、ビデオデコーダ4と、映像表示装置11と、を備えている。   A digital broadcast receiver 1 according to an embodiment of the present invention will be described with reference to FIGS. The digital broadcast receiver 1 is a device that receives a broadcast wave that is encoded by MPEG-2 and OFDM-modulated, and that displays and reproduces video and audio included in the broadcast wave. As shown in FIG. A demodulator 2, a TS demultiplexer 3, a video decoder 4, and a video display device 11 are provided.

復調部2は、TS搬送信号を復調してTSパケットを取得すると共に、復調時にリードソロモン誤り訂正によるエラー訂正を行いTSデマルチプレクサ3に出力する。   The demodulator 2 demodulates the TS carrier signal to obtain a TS packet, performs error correction by Reed-Solomon error correction at the time of demodulation, and outputs it to the TS demultiplexer 3.

TSデマルチプレクサ3は、復調部2から入力されるTSパケットからPESパケットを復元しPESパケットから符号化された映像データとしてのビデオESと音声の符号化データとしての音声ESとに分離抽出して、ビデオESはビデオデコーダ4に出力する。また、この際にエラーTSパケットは廃棄される。音声ESは図示しないオーディオデコーダにおいてデコード処理され音声信号に復元後スピーカなどから音声として再生される。なお、音声のデコード処理についての詳細な説明は省略する。以降の説明においてビデオESは単にESと称する。   The TS demultiplexer 3 restores the PES packet from the TS packet input from the demodulator 2 and separates and extracts the video ES as video data encoded from the PES packet and the audio ES as encoded audio data. The video ES is output to the video decoder 4. At this time, the error TS packet is discarded. The audio ES is decoded by an audio decoder (not shown), restored to an audio signal, and reproduced as audio from a speaker or the like. A detailed description of the audio decoding process is omitted. In the following description, the video ES is simply referred to as ES.

本発明の一実施例にかかる映像復号装置としてのビデオデコーダ4は、入力されたESに対してデコード処理を行って映像信号に復元し映像表示装置11に出力する。ビデオデコーダ4は、ESバッファ5と、VLC(Variable Length Coding)デコード処理部6と、映像データ復号処理部7と、シンタックス解析部8と、スタートコード検索部9と、エラー時スタートコード検索部10と、を備える。   The video decoder 4 as a video decoding device according to an embodiment of the present invention performs decoding processing on the input ES, restores the video signal, and outputs the video signal to the video display device 11. The video decoder 4 includes an ES buffer 5, a VLC (Variable Length Coding) decoding processing unit 6, a video data decoding processing unit 7, a syntax analysis unit 8, a start code searching unit 9, and an error start code searching unit. 10.

記憶手段としてのESバッファ5は、TSデマルチプレクサ3から入力されたESを所定量記憶するためのバッファであり半導体メモリで構成されている。本実施例では少なくとも1スライス分のESが記憶できる容量となっている。すなわち、同期を示す情報から次に復号された同期を示す情報までを記憶している。   The ES buffer 5 as a storage means is a buffer for storing a predetermined amount of ES input from the TS demultiplexer 3 and is constituted by a semiconductor memory. In this embodiment, the capacity is sufficient to store at least one slice of ES. That is, information from synchronization information to next decoded synchronization information is stored.

復号手段としてのVLCデコード処理部6は、ESバッファ5に入力されたESを読み出してVLCデコード処理を行いVLCデコード処理後のデータを映像データ復号処理部7へ出力する。   The VLC decoding processing unit 6 as decoding means reads the ES input to the ES buffer 5, performs VLC decoding processing, and outputs the data after VLC decoding processing to the video data decoding processing unit 7.

復号手段、映像記憶手段としての映像データ復号処理部7は、VLCデコード処理後のデータに逆量子化や逆DCT(Discrete Cosine Transform)および動き補償などの処理を行って映像信号を復元する。   The video data decoding processing unit 7 as decoding means and video storage means restores the video signal by performing processing such as inverse quantization, inverse DCT (Discrete Cosine Transform) and motion compensation on the data after the VLC decoding processing.

復号手段としてのシンタックス解析部8は、ESバッファ5に記憶されているこれからデコードする映像の画素数やアスペクト比、又は走査方式などの映像フォーマット情報を得る為に、スタートコードの検出や検出されたスタートコードに続くシーケンスヘッダやピクチャヘッダ、或いはスライスヘッダなどのヘッダのシンタックス解析を行い、映像フォーマット情報などデコードに必要な情報を取得する。取得された情報はVLCデコード処理部6や映像データ復号処理部7に出力される。   The syntax analysis unit 8 serving as a decoding unit detects and detects a start code in order to obtain video format information such as the number of pixels of the video to be decoded, the aspect ratio, or the scanning method stored in the ES buffer 5. The header header such as a sequence header, picture header, or slice header following the start code is analyzed, and information necessary for decoding such as video format information is acquired. The acquired information is output to the VLC decoding processing unit 6 and the video data decoding processing unit 7.

同期情報検出手段としてのスタートコード検索部9は、映像データ復号処理部7がある一定の処理単位(マクロブロックなど)映像データを復号した後、次に読み込むデータがスタートコード(16進表記で000001)か否かの判断を行い、スタートコードであった場合は、シンタックス解析部8に通知する。シンタックス解析部8は、スタートコードの種別、つまりシーケンススタートコード、ピクチャスタートコード又はスライススタートコードの判別を行い、シンタックス解析を行う。   The start code search unit 9 as the synchronization information detection means decodes video data in a certain processing unit (macro block or the like) video data by the video data decoding processing unit 7, and the next data to be read is a start code (000001 in hexadecimal notation). ) And if it is a start code, the syntax analysis unit 8 is notified. The syntax analysis unit 8 determines the type of start code, that is, the sequence start code, picture start code, or slice start code, and performs syntax analysis.

エラー時同期情報検出手段としてのエラー時スタートコード検索部10は、VLCデコード処理部6でデコードエラーが検出された際に、デコードエラー検出前に検出されたスタートコードの位置に遡って次のスタートコードを検索し、シンタックス解析部8に通知する。   The error start code search unit 10 as the error synchronization information detecting means, when a decoding error is detected by the VLC decoding processing unit 6, starts the next start from the position of the start code detected before the decoding error detection. The code is searched and notified to the syntax analysis unit 8.

映像表示装置11は、ビデオデコーダ4から入力された映像信号を表示する装置であり、CRTまたはプラズマディスプレイまたは液晶ディスプレイなどから構成されている。   The video display device 11 is a device that displays the video signal input from the video decoder 4, and is composed of a CRT, a plasma display, a liquid crystal display, or the like.

図3に示すような構成からなるデジタル放送受信機1のビデオデコーダ4においてESのデコード処理を行う際の動作を説明する。まず、これからデコードする映像(ストリーム)の画素数やアスペクト比、又は走査方式などの映像フォーマット情報を得る為に、シンタックス解析を行い、映像フォーマット情報を得る。次に、スライス層以下のESのデコード処理動作を開始する。その動作を図4に示すフローチャートを参照して説明する。   The operation when the ES decoding process is performed in the video decoder 4 of the digital broadcast receiver 1 having the configuration shown in FIG. 3 will be described. First, in order to obtain video format information such as the number of pixels of the video (stream) to be decoded, the aspect ratio, or the scanning method, syntax analysis is performed to obtain the video format information. Next, the decoding processing operation of the ES below the slice layer is started. The operation will be described with reference to the flowchart shown in FIG.

まず、ステップS1において、スタートコード検索部9で、検出されたスタートコードが各スライスの先頭に付加されているスライススタートコードか否かを判断してスライススタートコードの場合(YESの場合)はステップS2に進み、そうでない場合(NOの場合)はスライススタートコード以外のヘッダになるのでステップS7へ進む。   First, in step S1, the start code search unit 9 determines whether or not the detected start code is a slice start code added to the head of each slice. The process proceeds to S2, and if not (NO), the process proceeds to step S7 because a header other than the slice start code is obtained.

次に、ステップS2において、シンタックス解析部8で、スライス層のシンタックス解析処理を行いステップS3に進む。   Next, in step S2, the syntax analysis unit 8 performs a slice layer syntax analysis process and proceeds to step S3.

次に、ステップS3において、VLCデコード処理部6で、1マクロブロック分VLCデコード処理を行ってステップS4に進む。   Next, in step S3, the VLC decode processing unit 6 performs VLC decode processing for one macroblock and proceeds to step S4.

次に、ステップS4において、VLCデコード処理部6で存在しないVLCコードが入力された場合、つまりエラーが発生したか否かを判断して、デコードエラーが発生した場合(YESの場合)はステップS8に進み、そうでない場合(NOの場合)はステップS5に進む。   Next, in step S4, if a VLC code that does not exist is input in the VLC decode processing unit 6, that is, it is determined whether or not an error has occurred. If a decoding error has occurred (YES), step S8 is performed. If not (NO), the process proceeds to step S5.

次に、ステップS5において、ステップS3でVLCデコード処理を行ったマクロブロックについて映像データ復号処理部7でマクロブロック復号処理(逆量子化、逆DCT、動き補償など)を行いステップS6に進む。   Next, in step S5, the video data decoding processing unit 7 performs macroblock decoding processing (inverse quantization, inverse DCT, motion compensation, etc.) on the macroblock that has been subjected to VLC decoding processing in step S3, and the process proceeds to step S6.

次に、ステップS6において、ステップS5で復号処理を行ったマクロブロックがスライスの最後か否かをVLCデコード処理部6で判断してスライスの最後であった場合(YESの場合)はステップS1に戻り、そうでない場合(NOの場合)はステップS3に戻る。最後のマクロブロックは、スタートコード(16進表記で000001)を検出することで判断する。例えば地上デジタル放送の場合を図5に示す。図5は映像表示装置11に表示された画面を示している。地上デジタル放送では1スライスは図5に示すように画面の1ラインで設定されている場合がほとんどである。   Next, in step S6, if the VLC decoding processing unit 6 determines whether or not the macroblock subjected to the decoding process in step S5 is the end of the slice, and if it is the end of the slice (in the case of YES), the process proceeds to step S1. If not (NO), the process returns to step S3. The last macroblock is determined by detecting the start code (000001 in hexadecimal notation). For example, FIG. 5 shows the case of terrestrial digital broadcasting. FIG. 5 shows a screen displayed on the video display device 11. In digital terrestrial broadcasting, one slice is almost always set by one line of the screen as shown in FIG.

ステップS7においては、スライス層以外の例えばピクチャ層などのシンタックス解析処理をシンタックス解析部8で行いステップS1に戻る。   In step S7, syntax analysis processing other than the slice layer, such as a picture layer, is performed by the syntax analysis unit 8 and the process returns to step S1.

ステップS8においては、デコードエラーが検出されたので、エラー時スタートコード検索部10は、ESバッファ5に記憶されている前回デコードしたスライススタートコードの位置まで戻り、そのスライススタートコードから次のスライススタートコードの検索を行いステップS1に戻る。すなわち、復号エラーが検出される前に復号手段が復号した同期を示す情報の位置から次の同期を示す情報を検出している。   In step S8, since a decoding error is detected, the error start code search unit 10 returns to the position of the previously decoded slice start code stored in the ES buffer 5, and starts the next slice from the slice start code. The code is searched and the process returns to step S1. That is, the information indicating the next synchronization is detected from the position of the information indicating the synchronization decoded by the decoding means before the decoding error is detected.

スライススタートコードの検索は次のように行う。通常のVLCデコード処理(スタートコード検索やシンタックス解析も含む)はVLCを処理するために可変長なビット数で読み出してデコード処理を行っているが、ステップS8では、MPEG−2規格において、スライススタートコードは16進表記で00000101〜000001AFのいずれかの4バイトとなっており、さらに、スタートコードから次のスタートコードの間はバイトアライメントされている(スタートコードから次のスタートコードの1ビット前のデータまでがバイト(8ビット)で割り切れるようにデータが揃えられている)ことを利用して前回デコードすることができた(認識できた)スライススタートコードからバイト単位でESバッファ5からデータを読み出して検出する。すなわち、記憶手段からバイト単位に映像データを読み出して次の同期を示す情報を検出している。このようにすることによって、スライススタートコードを早期に検出することができる。   The search for the slice start code is performed as follows. Normal VLC decoding processing (including start code search and syntax analysis) is performed by decoding with a variable number of bits to process VLC. In step S8, in the MPEG-2 standard, slice processing is performed. The start code is one of 4 bytes from 00000101 to 000001AF in hexadecimal notation, and byte alignment is performed between the start code and the next start code (one bit before the next start code from the start code). The data from the ES buffer 5 can be decoded byte by byte from the slice start code that was previously decoded (recognized) using the fact that the data is evenly divided by bytes (8 bits). Read and detect. That is, the video data is read out from the storage means in units of bytes, and information indicating the next synchronization is detected. In this way, the slice start code can be detected early.

以上のフローチャートの動作の一例を図5を用いて説明する。図5におけるスライスn−1のマクロブロックB〜DはエラーTSパケットに含まれており、スライスnのマクロブロックHでデコードエラーが発生したとすると、マクロブロックB〜Dはビデオデコーダ4に入力されないためにマクロブロックB〜Dの位置には正常な画像が表示されない。続くマクロブロックE,FもマクロブロックB〜Dが欠落した影響により正常な画像が表示できるようなデコードが行えない可能性が高い。次のスライスnの先頭のマクロブロックGにはマクロブロックのデータの前にスライススタートコードが付加されているが、マクロブロックB〜Dが欠落した影響により、1マクロブロック復号(ステップS3)において、誤ってスライススタートコードが読み込まれて認識できない可能性がある。   An example of the operation of the above flowchart will be described with reference to FIG. The macro blocks B to D of the slice n−1 in FIG. 5 are included in the error TS packet, and if a decoding error occurs in the macro block H of the slice n, the macro blocks B to D are not input to the video decoder 4. Therefore, a normal image is not displayed at the positions of the macro blocks B to D. There is a high possibility that the subsequent macroblocks E and F cannot be decoded so that a normal image can be displayed due to the effect of the missing macroblocks B to D. In the first macroblock G of the next slice n, a slice start code is added before the data of the macroblock. Due to the loss of the macroblocks B to D, in one macroblock decoding (step S3), There is a possibility that the slice start code is read by mistake and cannot be recognized.

そこで、VLCデコードエラー発生後にステップS8において、まず、前回デコードできているスライスn−1のスタートコードの位置からバイト単位で読み出すことでスライスnのスタートコードを検出することができる。スライスnのスタートコードが検出できたら、その時点でステップS1に戻り通常のデコード処理を行う。すなわち、記憶手段からバイト単位に映像データを読み出して次の同期を示す情報を検出し、検出した同期を示す情報の位置から映像データの復号を行っている。このようにすることによって、従来はマクロブロックGでデコードエラーが発生した場合はスライスnの次のスライスのスタートコードが検出されるまでデコードを停止するためスライスnは正常な画像が表示できなかったのが、スライスnのスタートコードを検索することでスライスnは正常な画像を表示することができるようになる。   Therefore, in step S8 after the occurrence of the VLC decoding error, first, the start code of slice n can be detected by reading in byte units from the position of the start code of slice n-1 that was previously decoded. If the start code of the slice n can be detected, the process returns to step S1 at that time and normal decoding processing is performed. That is, the video data is read from the storage means in byte units, information indicating the next synchronization is detected, and the video data is decoded from the position of the information indicating the detected synchronization. By doing so, conventionally, when a decoding error occurs in the macroblock G, the decoding is stopped until the start code of the slice following the slice n is detected, so that the slice n cannot display a normal image. However, by searching for the start code of slice n, slice n can display a normal image.

本実施例によれば、デジタル放送受信機1のビデオデコーダ4においてエラーTSパケットによるデコードエラーが発生した際に、エラー時スタートコード検索部10が、ESバッファ5からデコードエラーが発生する前にデコードされているスライススタートコードを読み出し、そのスライススタートコードの位置からバイト単位に読み出して次のスライススタートコードを検出し、そのスライススタートコードからシンタックス解析部8やVLCデコード処理部6および映像データ復号処理部7で復号を再開する。このようにすることによって、従来認識できなかったスライススタートコードを認識するためにエラーTSパケットによってESの一部が欠落したことによるデコードエラーの影響を最小限にすることができる。   According to the present embodiment, when a decoding error due to an error TS packet occurs in the video decoder 4 of the digital broadcast receiver 1, the error start code search unit 10 performs decoding before the decoding error occurs from the ES buffer 5. The slice start code is read out, and the next slice start code is detected from the slice start code position in bytes, and the syntax analysis unit 8, VLC decode processing unit 6 and video data decoding are detected from the slice start code. Decoding is resumed by the processing unit 7. By doing so, it is possible to minimize the influence of the decoding error due to a part of the ES being lost by the error TS packet in order to recognize the slice start code that could not be recognized conventionally.

なお、ビデオデコーダ4をコンピュータを構成するCPUとメモリに置き換えて、ESバッファ5をメモリに、VLCデコード処理部6、映像データ復号処理部7、シンタックス解析部8、スタートコード検索部9およびエラー時スタートコード検索部10の機能をCPUで実行するプログラムとしてもよい。このようにすることによって専用のハードウェアでなくても、コンピュータ上のソフトウェアでエラーTSパケットによってESの一部が欠落したことによるデコードエラーの影響を、従来認識できなかったスライススタートコードを認識することで少なくすることができるビデオデコーダとして機能させることができる。   The video decoder 4 is replaced with a CPU and a memory constituting the computer, the ES buffer 5 is replaced with a memory, a VLC decoding processing unit 6, a video data decoding processing unit 7, a syntax analysis unit 8, a start code search unit 9, and an error. The function of the hour start code search unit 10 may be a program executed by the CPU. In this way, even if it is not dedicated hardware, it recognizes the slice start code that could not be recognized in the past due to the decoding error caused by the loss of part of the ES due to the error TS packet in the software on the computer. Therefore, it can function as a video decoder that can be reduced.

また、上述した実施例ではスライスn−1のマクロブロックB〜Fは正常な画像が表示できないが、MPEG−2ではフレーム間予測符号化を行っているために復号された過去の複数の映像データを記憶していることが多いので、スライスn−1全体を過去の画像の同じ位置のスライスで置き換えるようにしてもよい。例えばエラー時スタートコード検索部10で図4のフローチャートによりスライスnのスライススタートコードを検出した場合にスライスn−1は映像データ復号処理部7の図示しないメモリ等に記憶されている過去の画像(例えば1フレーム前)のn−1の位置のスライスに置き換えるようにエラー時スタートコード検索部10から映像データ復号処理部7に指示をする。すなわち、復号エラーが検出される直前にデコードされた同期を示す情報から次の同期を示す情報の直前までの映像を過去に復号した映像に置き換える。このようにすることによって、エラーTSパケットで欠落したマクロブロックおよびエラーTSパケットで欠落した部分からスライススタートコードまでの間にあるマクロブロックも本来の映像に近い映像を表示することができるのでエラーTSパケットの影響をより少なくすることができる。   In the above-described embodiment, normal images cannot be displayed in the macro blocks B to F of the slice n-1, but a plurality of past video data decoded due to the inter-frame predictive encoding in MPEG-2. Therefore, the entire slice n-1 may be replaced with a slice at the same position in the past image. For example, when the error start code search unit 10 detects the slice start code of slice n according to the flowchart of FIG. 4, slice n−1 is a past image stored in a memory (not shown) of the video data decoding processing unit 7 ( For example, the error start code search unit 10 instructs the video data decoding processing unit 7 to replace the slice with the position of n-1 in the previous frame). That is, the video from the information indicating the synchronization decoded immediately before the detection of the decoding error to the information immediately before the information indicating the next synchronization is replaced with the video decoded in the past. By doing so, the macroblocks missing from the error TS packet and the macroblocks between the portion missing from the error TS packet and the slice start code can also display a video close to the original video. The influence of the packet can be reduced.

また、上述した実施例においてはスライススタートコードについて説明したが、ピクチャスタートコードやシーケンススタートコードについても、同様に検出することで認識できなかったスタートコードが検出でき、検出できたスタートコードから再同期して映像を表示することができる。   Further, although the slice start code has been described in the above-described embodiment, a start code that could not be recognized by detecting the picture start code and the sequence start code can be detected in the same manner, and resynchronization can be performed from the detected start code. Video can be displayed.

また、上述した実施例では、ビデオデコーダ4にESバッファ5を含めていたが、半導体部品などで構成する際にはESバッファ5以外をビデオデコーダ4として1つの部品とし、ESバッファ5は別部品の2つの部品に分けて構成してもよい。勿論、各ブロックをそれぞれ単独の部品で構成してもよい。   In the above-described embodiment, the ES buffer 5 is included in the video decoder 4. However, when the configuration is made of semiconductor components, the video decoder 4 is one component other than the ES buffer 5, and the ES buffer 5 is a separate component. The two parts may be configured separately. Of course, each block may be composed of a single component.

前述した実施例によれば、以下の映像復号装置と映像復号方法および映像復号プログラムが得られる。   According to the embodiment described above, the following video decoding device, video decoding method, and video decoding program can be obtained.

(付記1)ESが入力され、該ESを復号するVLCデコード処理部6と映像データ復号処理部7とシンタックス解析部8とを備えたビデオデコーダ4において、
ESを所定量記憶するESバッファ5と、
ESバッファ5に記憶したESに含まれるスライススタートコードを検出するスタートコード検索部9と、
VLCデコード処理部6がデコードエラーを検出した際に、デコードエラーが検出される前にデコードされたスライススタートコードの位置から、次のスライススタートコードを検出するエラー時スタートコード検索部10と、を備え、
VLCデコード処理部6と映像データ復号処理部7とシンタックス解析部8がエラー時スタートコード検索部10が検出したスライススタートコードからESを復号することを特徴とするビデオデコーダ4。
(Supplementary Note 1) In the video decoder 4 including the VLC decoding processing unit 6, the video data decoding processing unit 7, and the syntax analysis unit 8 that receive the ES and decodes the ES,
An ES buffer 5 for storing a predetermined amount of ES;
A start code search unit 9 for detecting a slice start code included in the ES stored in the ES buffer 5;
When the VLC decoding processing unit 6 detects a decoding error, an error start code search unit 10 that detects the next slice start code from the position of the slice start code decoded before the decoding error is detected, Prepared,
A video decoder 4 characterized in that a VLC decoding processing unit 6, a video data decoding processing unit 7, and a syntax analysis unit 8 decode an ES from a slice start code detected by an error start code search unit 10.

このビデオデコーダ4によれば、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実にスライススタートコードを検出することができるのでデコードエラーによる表示画像の影響を少なくすることができる。   According to the video decoder 4, when the information indicating the next synchronization cannot be recognized due to the error TS packet, the slice start code can be reliably detected, so that the influence of the display image due to the decoding error can be reduced. it can.

(付記2)ESが入力され、該ESを復号する映像復号方法において、
ESを所定量記憶し、記憶したESを読み出して該ESを復号し、デコードエラーを検出した際に、デコードエラーが検出される前にデコードされたスライススタートコードの位置から次のスライススタートコードを検出して、検出された次のスライススタートコードからデコードすることを特徴とする映像復号方法。
(Supplementary Note 2) In a video decoding method for inputting an ES and decoding the ES,
When a predetermined amount of ES is stored, the stored ES is read, the ES is decoded, and a decoding error is detected, the next slice start code is read from the position of the decoded slice start code before the decoding error is detected. A video decoding method comprising: detecting and decoding from the detected next slice start code.

この映像復号方法によれば、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実にスライススタートコードを検出することができるのでデコードエラーによる表示画像の影響を少なくすることができる。   According to this video decoding method, if the information indicating the next synchronization cannot be recognized due to an error TS packet, the slice start code can be reliably detected, so that the influence of the display image due to the decoding error can be reduced. it can.

(付記3)ESが入力され、該ESを復号するVLCデコード処理部6と映像データ復号処理部7とシンタックス解析部8としてコンピュータに機能させる映像復号プログラムにおいて、
ESを所定量記憶するESバッファ5と、
ESバッファ5に記憶したESに含まれるスライススタートコードを検出するスタートコード検索部9と、
VLCデコード処理部6がデコードエラーを検出した際に、デコードエラーが検出される前にデコードされたスライススタートコードの位置から、次のスライススタートコードを検出するエラー時スタートコード検索部10としてコンピュータに機能させるとともに、
VLCデコード処理部6と映像データ復号処理部7とシンタックス解析部8がエラー時スタートコード検索部10が検出したスライススタートコードからESを復号することを特徴とする映像復号プログラム。
(Supplementary Note 3) In a video decoding program that causes a computer to function as a VLC decoding processing unit 6, a video data decoding processing unit 7, and a syntax analysis unit 8 that receive an ES and decode the ES,
An ES buffer 5 for storing a predetermined amount of ES;
A start code search unit 9 for detecting a slice start code included in the ES stored in the ES buffer 5;
When the VLC decode processing unit 6 detects a decoding error, the error start code search unit 10 detects the next slice start code from the position of the slice start code decoded before the decoding error is detected. Make it work,
A video decoding program characterized in that a VLC decoding processing unit 6, a video data decoding processing unit 7, and a syntax analysis unit 8 decode an ES from a slice start code detected by an error start code search unit 10.

この映像復号プログラムによれば、エラーTSパケットのため次の同期を示す情報が認識できなかった場合、確実にスライススタートコードを検出することができるのでデコードエラーによる表示画像の影響を少なくすることができる。   According to this video decoding program, if the information indicating the next synchronization cannot be recognized due to an error TS packet, the slice start code can be reliably detected, so that the influence of the display image due to the decoding error can be reduced. it can.

なお、前述した実施例は本発明の代表的な形態を示したに過ぎず、本発明は、実施例に限定されるものではない。すなわち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。   In addition, the Example mentioned above only showed the typical form of this invention, and this invention is not limited to an Example. That is, various modifications can be made without departing from the scope of the present invention.

従来の技術におけるTSパケットの説明図である。It is explanatory drawing of the TS packet in a prior art. 従来の技術におけるエラーTSパケットの説明図である。It is explanatory drawing of the error TS packet in a prior art. 本発明の一実施例にかかる映像復号装置のブロック図である。It is a block diagram of the video decoding apparatus concerning one Example of this invention. 図3に示された映像復号装置のデコード動作を示したフローチャートである。4 is a flowchart illustrating a decoding operation of the video decoding apparatus illustrated in FIG. 3. 表示画面上におけるスライスの説明図である。It is explanatory drawing of the slice on a display screen.

符号の説明Explanation of symbols

1 デジタル放送受信機
4 ビデオデコーダ(映像復号装置)
5 ESバッファ(記憶手段)
6 VLCデコード処理部(復号手段)
7 映像データ復号処理部(復号手段、映像記憶手段)
8 シンタックス解析部(復号手段)
9 スタートコード検索部(同期情報検出手段)
10 エラー時スタートコード検索部(エラー時同期情報検出手段)
1 Digital Broadcasting Receiver 4 Video Decoder (Video Decoding Device)
5 ES buffer (storage means)
6 VLC decoding processor (decoding means)
7 Video data decoding processing unit (decoding means, video storage means)
8 Syntax analyzer (decoding means)
9 Start code search part (synchronous information detection means)
10 Error start code search part (error synchronization information detection means)

Claims (8)

符号化された映像データが入力され、該映像データを復号する復号手段を備えた映像復号装置において、
前記符号化された映像データを所定量記憶する記憶手段と、
前記記憶手段に記憶した前記符号化された映像データに含まれる同期を示す情報を検出する同期情報検出手段と、
前記復号手段が復号エラーを検出した際に、前記復号エラーが検出される前に前記復号手段が復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出するエラー時同期情報検出手段と、を備え、
前記復号手段が、前記エラー時同期情報検出手段が検出した前記同期を示す情報から映像データの復号を行うことを特徴とする映像復号装置。
In a video decoding apparatus provided with decoding means for inputting encoded video data and decoding the video data,
Storage means for storing a predetermined amount of the encoded video data;
Synchronization information detection means for detecting information indicating synchronization included in the encoded video data stored in the storage means;
When the decoding means detects a decoding error, synchronization information at the time of detecting information indicating the next synchronization from the position of the information indicating the synchronization decoded by the decoding means before the decoding error is detected Detecting means,
The video decoding apparatus, wherein the decoding means decodes video data from the information indicating the synchronization detected by the error synchronization information detecting means.
前記エラー時同期情報検出手段が、前記記憶手段からバイト単位に前記映像データを読み出させて次の前記同期を示す情報を検出することを特徴とする請求項1に記載の映像復号装置。   2. The video decoding apparatus according to claim 1, wherein the error-time synchronization information detecting unit detects the information indicating the next synchronization by reading the video data in bytes from the storage unit. 前記記憶手段が、少なくとも前記同期を示す情報から次に復号された前記同期を示す情報までを記憶することを特徴とする請求項1または2に記載の映像復号装置。   The video decoding apparatus according to claim 1, wherein the storage unit stores at least information indicating the synchronization to information indicating the synchronization decoded next. 過去に復号した映像データを記憶する映像記憶手段を備え、
前記復号手段が、復号エラーを検出した際に、前記復号エラーが検出される直前に復号された前記同期を示す情報から次の前記同期を示す情報の直前までの映像を前記映像記憶手段に記憶した映像データに置き換えることを特徴とする請求項1乃至3のうちいずれか一項に記載の映像復号装置。
Video storage means for storing video data decoded in the past,
When the decoding means detects a decoding error, the video storage means stores the video from the information indicating the synchronization decoded immediately before the decoding error is detected to immediately before the information indicating the next synchronization. 4. The video decoding device according to claim 1, wherein the video decoding device is replaced with the video data that has been processed.
請求項1乃至4のうちいずれか一項に記載の映像復号装置を備えたデジタル放送受信機。   A digital broadcast receiver comprising the video decoding device according to claim 1. 符号化された映像データが入力され、該映像データを復号する映像復号方法において、
前記映像データを所定量記憶し、前記記憶した前記符号化された映像データを読み出して該映像データを復号し、復号エラーを検出した際に、前記復号エラーが検出される前に復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出して、検出された前記次の同期を示す情報から復号することを特徴とする映像復号方法。
In a video decoding method for inputting encoded video data and decoding the video data,
The video data is stored in a predetermined amount, the stored encoded video data is read out, the video data is decoded, and when a decoding error is detected, the synchronization is decoded before the decoding error is detected. A video decoding method, wherein information indicating the next synchronization is detected from a position of the information indicating, and decoding is performed from the detected information indicating the next synchronization.
符号化された映像データが入力され、該映像データを復号する復号手段としてコンピュータに機能させる映像復号プログラムにおいて、
前記符号化された映像データを所定量記憶する記憶手段と、
前記記憶手段に記憶した前記符号化された映像データに含まれる同期を示す情報を検出する同期情報検出手段と、
前記復号手段が復号エラーを検出した際に、前記復号エラーが検出される前に前記復号手段が復号した前記同期を示す情報の位置から、次の前記同期を示す情報を検出するエラー時同期情報検出手段としてコンピュータに機能させるとともに、
前記復号手段が、前記エラー時同期情報検出手段が検出した前記同期を示す情報から映像データの復号を行うことを特徴とする映像復号プログラム。
In a video decoding program for inputting encoded video data and causing a computer to function as decoding means for decoding the video data,
Storage means for storing a predetermined amount of the encoded video data;
Synchronization information detection means for detecting information indicating synchronization included in the encoded video data stored in the storage means;
When the decoding means detects a decoding error, synchronization information at the time of detecting information indicating the next synchronization from the position of the information indicating the synchronization decoded by the decoding means before the decoding error is detected Let the computer function as a detection means,
A video decoding program, wherein the decoding means decodes video data from the information indicating the synchronization detected by the error time synchronization information detecting means.
請求項7に記載の映像復号プログラムを格納したことを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing the video decoding program according to claim 7.
JP2006332869A 2006-12-11 2006-12-11 Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored Pending JP2008148004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006332869A JP2008148004A (en) 2006-12-11 2006-12-11 Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006332869A JP2008148004A (en) 2006-12-11 2006-12-11 Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored

Publications (1)

Publication Number Publication Date
JP2008148004A true JP2008148004A (en) 2008-06-26

Family

ID=39607687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006332869A Pending JP2008148004A (en) 2006-12-11 2006-12-11 Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored

Country Status (1)

Country Link
JP (1) JP2008148004A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738888A (en) * 1993-07-02 1995-02-07 Oki Electric Ind Co Ltd Dynamic image decoding device
JP2000013240A (en) * 1998-06-19 2000-01-14 Sony Corp Code block processing device and method therefor
JP2002171250A (en) * 2000-12-04 2002-06-14 Fujitsu Ltd Method for retrieving synchronizing word and circuit for the same
JP2002171241A (en) * 2000-11-29 2002-06-14 Sony Corp Stream transmitting device and its method
JP2004235820A (en) * 2003-01-29 2004-08-19 Mitsubishi Electric Corp Decoder and decoding method
JP2007267371A (en) * 2006-02-28 2007-10-11 Matsushita Electric Ind Co Ltd Data analysis apparatus and data analysis method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738888A (en) * 1993-07-02 1995-02-07 Oki Electric Ind Co Ltd Dynamic image decoding device
JP2000013240A (en) * 1998-06-19 2000-01-14 Sony Corp Code block processing device and method therefor
JP2002171241A (en) * 2000-11-29 2002-06-14 Sony Corp Stream transmitting device and its method
JP2002171250A (en) * 2000-12-04 2002-06-14 Fujitsu Ltd Method for retrieving synchronizing word and circuit for the same
JP2004235820A (en) * 2003-01-29 2004-08-19 Mitsubishi Electric Corp Decoder and decoding method
JP2007267371A (en) * 2006-02-28 2007-10-11 Matsushita Electric Ind Co Ltd Data analysis apparatus and data analysis method

Similar Documents

Publication Publication Date Title
KR100768058B1 (en) Encoded stream reproducing apparatus
US6898246B2 (en) Apparatus and method for decoding an MPEG picture stream
US20080259962A1 (en) Contents reproducing apparatus
US10075726B2 (en) Video decoding method/device of detecting a missing video frame
US10491944B2 (en) Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein
JP2009524983A (en) Fast channel change in digital television receivers
KR100301825B1 (en) Mpeg video decoding system and method of processing overflow of mpeg video decoding system
US11128911B2 (en) Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein
JP4488958B2 (en) Video transmission system and video transmission method
JP2002027483A (en) Picture coding system, picture decoding system, and storage media
JP2008148004A (en) Video decoder, digital broadcast receiver, video-decoding method, video-decoding program, and recording medium with video-decoding program stored
JPH1093841A (en) Video synchronizing signal correction device
JP4383844B2 (en) Video display device and video display device control method
JP4902258B2 (en) Data receiving apparatus and computer-readable storage medium
JP2005347915A (en) Digital broadcasting receiver and receiving method
JP3597037B2 (en) Digital broadcast receiver
TWI762980B (en) Method for debugging digital stream and circuit system thereof
JP2006352784A (en) Transmission method, receiver and computer program
JP2006332821A (en) Digital broadcasting receiver and digital broadcast receiving method
KR100266172B1 (en) An apparatus for processing errors in hdtv
JP2008283253A (en) Image transmission system, image encoding device, and image decoding device
JP2007043575A (en) Image processor and image processing method
JP2011188310A (en) Synchronous data detecting apparatus, synchronous data detecting method, and program
JP2008022053A (en) Decoding apparatus, information reproducing apparatus, and electronic equipment
KR20030080377A (en) Method for managing presentation time stamp in digital broadcasting receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110712