JP2006279388A - Apparatus and method for decoding moving picture - Google Patents

Apparatus and method for decoding moving picture Download PDF

Info

Publication number
JP2006279388A
JP2006279388A JP2005093797A JP2005093797A JP2006279388A JP 2006279388 A JP2006279388 A JP 2006279388A JP 2005093797 A JP2005093797 A JP 2005093797A JP 2005093797 A JP2005093797 A JP 2005093797A JP 2006279388 A JP2006279388 A JP 2006279388A
Authority
JP
Japan
Prior art keywords
parameter
replacement
value
encoding
valid
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
JP2005093797A
Other languages
Japanese (ja)
Inventor
Hiroyori Morimoto
広頼 森本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005093797A priority Critical patent/JP2006279388A/en
Publication of JP2006279388A publication Critical patent/JP2006279388A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology of enhancing the possibility for enabling a coded stream to be decoded even when there is an error in a coded parameter permitting no error concealment in the coded stream of a decoding object. <P>SOLUTION: A moving picture decoding apparatus includes: a parameter extraction means 11 for extracting the coded parameter P1 from the coded stream S subjected to moving picture compression; a parameter check means 12 for checking whether or not a value of the extracted coded parameter is valid to generate a valid flag F; a parameter replacement means 13 for replacing the value of the coded parameter discriminated invalid with a preset valid value to produce a replacement parameter P2; a selection means 14 for selecting one of the coded parameter from the parameter extract means in response to the value of the valid flag and the replacement parameter from the parameter replacement means; and a decoding means 15 for decoding the coded stream on the basis of the selected parameter P3 by the selection means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、動画像圧縮符号化ストリームを復号化する動画像復号化装置および動画像復号化方法において、符号化ストリーム中の符号化パラメータに誤りが検出された場合でも復号化を可能にする技術に関する。   The present invention relates to a technique for enabling decoding even when an error is detected in an encoding parameter in an encoded stream in a moving image decoding apparatus and a moving image decoding method for decoding a compressed compressed image stream. About.

従来の動画像復号化装置のエラーコンシール(エラー隠蔽)の技術においては、MPEG(Moving Picture Experts Group)2などの規格に準拠した符号化ストリーム中の符号化パラメータに誤りがあった場合、その符号化パラメータが影響を与えるシーケンス、GOP(Group of Pictures)またはピクチャの復号化を中止し、過去に復号した画像をコピーするようにしている。また、復号化を中止した後、次の新たな符号化パラメータが検出されるまで、復号化を行わないような構成をとっている(例えば、特許文献1参照。)。
特開2000−333163号公報(第6−13頁、第1図)
In the error concealment (error concealment) technique of the conventional video decoding device, if there is an error in the encoding parameter in the encoded stream compliant with a standard such as MPEG (Moving Picture Experts Group) 2, the code The decoding of the sequence, GOP (Group of Pictures) or pictures that is affected by the conversion parameter is stopped, and the previously decoded image is copied. In addition, after decoding is stopped, the decoding is not performed until the next new encoding parameter is detected (see, for example, Patent Document 1).
JP 2000-333163 A (page 6-13, FIG. 1)

上記の従来の動画像復号化装置では、誤った符号化パラメータがエラーコンシール可能なものであれば、そのエラーコンシールを行うことにより復号化が可能となるが、エラーコンシールできない符号化パラメータの場合に、そのパラメータに誤りがあるときには、その符号化パラメータが影響を与えるシーケンス・GOP・ピクチャを復号化することができないという課題があった。   In the above-described conventional video decoding device, if an erroneous encoding parameter is error concealable, decoding can be performed by performing the error concealment, but in the case of an encoding parameter that cannot be error concealed. When there is an error in the parameter, there is a problem that the sequence, GOP, and picture affected by the encoding parameter cannot be decoded.

上記課題を解決するために、本発明による動画像復号化装置は、
動画像圧縮された符号化ストリームから符号化パラメータを抽出するパラメータ抽出手段と、
前記パラメータ抽出手段により抽出された符号化パラメータの値が有効かどうかチェックして有効フラグを生成するパラメータチェック手段と、
前記パラメータチェック手段により無効と判定された符号化パラメータの値をあらかじめ設定した有効な値に置き換えて置換パラメータを生成するパラメータ置換手段と、
前記パラメータチェック手段による前記有効フラグの値に応じて前記パラメータ抽出手段からの符号化パラメータと前記パラメータ置換手段からの前記置換パラメータの一方を選択する選択手段と、
前記選択手段による選択パラメータにより前記符号化ストリームの復号化を行う復号化手段とを備えた構成とされている。
In order to solve the above problem, a video decoding device according to the present invention provides:
Parameter extraction means for extracting an encoding parameter from an encoded stream compressed with moving images;
Parameter check means for checking whether the value of the encoding parameter extracted by the parameter extraction means is valid and generating a valid flag;
Parameter replacement means for generating a replacement parameter by replacing the value of the encoding parameter determined to be invalid by the parameter check means with a preset valid value;
A selection unit that selects one of the encoding parameter from the parameter extraction unit and the replacement parameter from the parameter replacement unit according to the value of the valid flag by the parameter check unit;
And a decoding unit that decodes the encoded stream according to a selection parameter by the selection unit.

この動画像復号化装置に対応する本発明の動画像復号化方法は、
動画像圧縮された符号化ストリームから符号化パラメータを抽出するパラメータ抽出工程と、
前記パラメータ抽出工程により抽出した符号化パラメータの値が有効かどうかチェックして有効フラグを生成するパラメータチェック工程と、
前記パラメータチェック工程により無効と判定した符号化パラメータの値をあらかじめ設定した有効な値に置き換えて置換パラメータを生成するパラメータ置換工程と、
前記パラメータチェック工程による前記有効フラグの値に応じて前記パラメータ抽出工程での符号化パラメータと前記パラメータ置換工程での前記置換パラメータの一方を選択する選択工程と、
前記選択工程による選択パラメータにより前記符号化ストリームの復号化を行う復号化工程とを含むものである。
The moving picture decoding method of the present invention corresponding to this moving picture decoding apparatus is:
A parameter extraction step of extracting an encoding parameter from the encoded compressed video stream;
A parameter check step for checking whether the value of the encoding parameter extracted by the parameter extraction step is valid and generating a valid flag;
A parameter replacement step of generating a replacement parameter by replacing the value of the encoding parameter determined to be invalid by the parameter check step with a preset effective value;
A selection step of selecting one of the encoding parameter in the parameter extraction step and the replacement parameter in the parameter replacement step according to the value of the valid flag in the parameter check step;
And a decoding step of decoding the encoded stream according to the selection parameter in the selection step.

この構成においては、パラメータ抽出手段は符号化ストリームから符号化パラメータを抽出し、選択手段の一方の入力とパラメータチェック手段に送出する。パラメータチェック手段は受け取った符号化パラメータをチェックし、有効であれば有効フラグを有効状態とし、無効であれば有効フラグを無効状態とした上で、その有効フラグを選択手段の制御入力に与える。パラメータ置換手段は無効と判定された符号化パラメータをパラメータ値の置き換えによって置換パラメータに変換し、置換パラメータを選択手段の他の入力に送出する。選択手段は、抽出した符号化パラメータと置換パラメータとを入力し、パラメータチェック手段からの有効フラグの状態に応じて、有効フラグが有効状態のときは抽出した符号化パラメータを選択し、また、有効フラグが無効状態のときは置換パラメータを選択し、選択結果の選択パラメータを復号化手段に送出する。復号化手段は、選択パラメータに基づいて符号化ストリームの復号化を行う。   In this configuration, the parameter extraction unit extracts the encoded parameter from the encoded stream, and sends it to one input of the selection unit and the parameter check unit. The parameter check means checks the received encoding parameter. If it is valid, the valid flag is set to the valid state. If invalid, the valid flag is set to the invalid state, and the valid flag is given to the control input of the selection means. The parameter replacement unit converts the encoded parameter determined to be invalid into a replacement parameter by replacing the parameter value, and sends the replacement parameter to another input of the selection unit. The selection means inputs the extracted encoding parameter and the replacement parameter, and selects the extracted encoding parameter when the valid flag is valid according to the status of the valid flag from the parameter check means. When the flag is in an invalid state, the replacement parameter is selected, and the selection parameter as the selection result is sent to the decoding means. The decoding means decodes the encoded stream based on the selection parameter.

以上のように、符号化パラメータに誤りがあるときはパラメータ値置換で生成した置換パラメータを誤りの符号化パラメータの代わりに利用するので、エラーコンシールできない符号化パラメータに誤りがある場合でも、その誤りの符号化パラメータが影響を与える符号化ストリームの復号化の可能性を増すことができる。   As described above, when there is an error in the encoding parameter, the replacement parameter generated by the parameter value replacement is used instead of the error encoding parameter. It is possible to increase the possibility of decoding of the encoded stream, which is affected by the encoding parameter of.

上記の構成において、前記パラメータ置換手段については、その1つの態様として、前記パラメータチェック手段による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして置き換えを行うべきパラメータ値を前記有効とされた符号化パラメータがもつパラメータ値に更新するように構成されたものがある。   In the above configuration, as one aspect of the parameter replacement unit, when the determination of the encoding parameter by the parameter check unit is valid, the parameter value to be replaced as the replacement parameter is set as the valid parameter. There is one configured to update the parameter value of the encoded parameter.

また、動画像復号化方法の場合には、前記パラメータ置換工程では、前記パラメータチェック工程による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして置き換えを行うべきパラメータ値を前記有効とされた符号化パラメータがもつパラメータ値に更新するものである。   In the case of the moving picture decoding method, in the parameter replacement step, when the determination of the encoding parameter by the parameter check step is valid, the parameter value to be replaced as the replacement parameter is set as the valid parameter. The parameter value of the encoded parameter is updated.

このように構成すれば、1つの符号化ストリームに複数のシーケンスが存在し、複数のシーケンスで同じ符号化パラメータの値が使用されている場合に、ある1つのシーケンスで無効な値が発生しても、他のシーケンスと同じ符号化パラメータの値を使用することが可能となる。すなわち、他のシーケンスで符号化パラメータが有効なときは、パラメータ置換手段はその有効な符号化パラメータのパラメータ値を置き換えを行うべきパラメータ値として更新しているので、当該のシーケンスで符号化パラメータが無効となっても、あらかじめ更新しておいた有効のパラメータ値と置き換えて利用し、当該のシーケンスを適正に復号化することができる。   With this configuration, when there are a plurality of sequences in one encoded stream and the same encoding parameter value is used in the plurality of sequences, an invalid value is generated in one sequence. However, it is possible to use the same encoding parameter value as that of other sequences. That is, when an encoding parameter is valid in another sequence, the parameter replacement unit updates the parameter value of the effective encoding parameter as a parameter value to be replaced. Even if it becomes invalid, it can be used by replacing it with a valid parameter value that has been updated in advance, and the sequence can be properly decoded.

また、上記の構成において、前記パラメータ置換手段については、別の態様として、前記置換パラメータとして置き換えを行うべきパラメータ値をあらかじめグループ化して複数パターンを用意しており、適応的に採用パターンを決定するもので、前記パラメータチェック手段による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして採用すべきパターンを前記有効とされた符号化パラメータがもつパラメータ値が属するパターンに更新するように構成されたものがある。   In the above configuration, as another aspect of the parameter replacement means, a plurality of patterns are prepared by previously grouping parameter values to be replaced as the replacement parameters, and an adopted pattern is determined adaptively. When the determination of the encoding parameter by the parameter check means is valid, the pattern to be adopted as the replacement parameter is updated to the pattern to which the parameter value of the effective encoding parameter belongs. There is something configured.

また、動画像復号化方法の場合には、前記パラメータ置換工程では、前記置換パラメータとして置き換えを行うべきパラメータ値をあらかじめグループ化して複数パターンを用意しておき、適応的に採用パターンを決定するもので、前記パラメータチェック工程による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして採用すべきパターンを前記有効とされた符号化パラメータがもつパラメータ値が属するパターンに更新するものである。   In the case of a moving picture decoding method, the parameter substitution step prepares a plurality of patterns by previously grouping parameter values to be replaced as the replacement parameters, and adaptively determines the adopted pattern. When the determination of the encoding parameter by the parameter check step is valid, the pattern to be adopted as the replacement parameter is updated to the pattern to which the parameter value of the effective encoding parameter belongs. .

例えば、符号化パラメータの種別A,B,C…において、パラメータ値がai ,bi ,ci …となるグループをパターンPi (i=1,2…n)とし、n種類のパターンがあるとする。ただし、各パターンに属するパラメータ値はパターンごとにユニークであることを示すものではない。このうちの採用パターンをPk とする。有効な符号化パラメータで、そのパラメータ値が採用パターンでのパラメータ値と相違するようになったとき、採用パターンを更新する。例えば、抽出した有効な符号化パラメータで種別Aのパラメータ値が採用パターンPk でのak とは相違する例えばah になっているとする。このとき、種別Aのパラメータ値ah を有するパターンPh を採用パターンとして更新する。この状態で、種別Bの符号化パラメータが無効となったときは、それまでのパターンPk でのパラメータ値bk に代えてパターンPh でのパラメータ値bh を採用することになる。 For example, the type A of the encoding parameters, B, the C ..., parameter values a i, b i, a c i ... become a group with a pattern P i (i = 1,2 ... n ), the n types of patterns Suppose there is. However, the parameter value belonging to each pattern does not indicate that it is unique for each pattern. Of these, the adopted pattern is P k . When the effective encoding parameter is different from the parameter value in the employment pattern, the employment pattern is updated. For example, it is assumed that the parameter value of type A is different from a k in the adopted pattern P k , for example, a h in the extracted effective encoding parameters. At this time, the pattern P h having the parameter value a h of type A is updated as the adopted pattern. In this state, when the type B encoding parameter becomes invalid, the parameter value b h in the pattern P h is adopted instead of the parameter value b k in the pattern P k so far.

このように構成すれば、あらかじめ各符号化パラメータ間の関連性を考慮したパラメータ置換を実現することができ、無効な符号化パラメータが出現した場合にも、有効な符号化パラメータ群を使用して符号化ストリームの適正な復号化の可能性を適応的に高めることができる。   If configured in this way, it is possible to realize parameter replacement in consideration of the relationship between each encoding parameter in advance, and even when an invalid encoding parameter appears, an effective encoding parameter group is used. The possibility of proper decoding of the encoded stream can be increased adaptively.

本発明によれば、符号化パラメータに誤りがあるときはパラメータ値置換で生成した置換パラメータを誤りの符号化パラメータの代わりに利用するので、エラーコンシールできない符号化パラメータの場合であってそのパラメータに誤りがある場合でも、その誤りの符号化パラメータが影響を与える符号化ストリームの復号化の可能性を増すことができる。   According to the present invention, when there is an error in the encoding parameter, the replacement parameter generated by the parameter value replacement is used in place of the erroneous encoding parameter. Even if there is an error, it is possible to increase the possibility of decoding the encoded stream, which is affected by the encoding parameter of the error.

以下、本発明にかかわる動画像復号化装置および動画像復号化方法の実施の形態を図面に基づいて詳細に説明する。   Embodiments of a moving picture decoding apparatus and a moving picture decoding method according to the present invention will be described below in detail with reference to the drawings.

(実施の形態1)
図1は本発明の実施の形態1における動画像復号化装置の構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a moving picture decoding apparatus according to Embodiment 1 of the present invention.

図1において、符号の11は、MPEG2などの規格により動画像圧縮された符号化ストリームSからシーケンス層・GOP層・ピクチャ層などマクロブロック層より上位の層に含まれる符号化パラメータを抽出するパラメータ抽出手段、12は、抽出された符号化パラメータP1が有効かどうかを判定し、有効である場合は有効フラグFを立て、有効でない場合は有効フラグFを立てないような制御を行うパラメータチェック手段、13は、有効でない場合に有効でない符号化パラメータ種別Cpをあらかじめ有効であるとして設定されていた置換パラメータP2に置き換えるパラメータ置換手段、14は、パラメータチェック手段12により制御される有効フラグFの状態に応じて、抽出された符号化パラメータP1を使用するか、置換パラメータP2を使用するかを選択する選択手段、15は、選択手段14によって選択された選択パラメータP3に基づいて復号化を行う復号化手段である。   In FIG. 1, reference numeral 11 denotes a parameter for extracting a coding parameter included in a layer higher than a macroblock layer such as a sequence layer, a GOP layer, and a picture layer from a coded stream S that is compressed by a moving image according to a standard such as MPEG2. The extraction means 12 determines whether or not the extracted encoding parameter P1 is valid, and if it is valid, sets the validity flag F, and if not valid, the parameter check means performs control so that the validity flag F is not raised. , 13 is a parameter replacement unit that replaces the encoding parameter type Cp that is not effective when it is not effective with the replacement parameter P2 that has been set as effective in advance, and 14 is the state of the effective flag F that is controlled by the parameter check unit 12 Depending on, use extracted coding parameter P1 or replace Selection means for selecting whether to use the parameters P2, 15 is a decoding means for performing decoding based on the selected parameter P3 selected by the selection means 14.

パラメータ抽出手段11は、符号化ストリームSの中からシーケンス層・GOP層・ピクチャ層の先頭に配置されるスタートコードをサーチし、該当するスタートコードを検出すると、規格に沿って該当する符号化パラメータP1を抽出する。抽出された符号化パラメータP1がMPEG2の規格上もしくは、本動画像復号化装置が対応できる有効な値か、有効でない値かをパラメータチェック手段12において判定し、有効な値である場合は有効フラグFを“1”にセットし、有効でない値の場合は“0”にセットする。有効でなかった場合は、対象の符号化パラメータ種別Cpがパラメータ置換手段13に渡され、あらかじめパラメータ値が登録された図2のようなテーブルを参照することで、所定のパラメータ値を取得し、置換パラメータP2を復号化手段15に送出する。選択手段14では、有効フラグFの値によって、“1”の場合は抽出された符号化パラメータP1を選択し、“0”の場合は置換パラメータP2を選択し、選択結果を選択パラメータP3として復号化手段15に与える。復号化手段15では、有効フラグFの値に応じた選択パラメータP3に従って符号化ストリームSの復号化を行う。   The parameter extraction unit 11 searches the encoded stream S for a start code arranged at the head of the sequence layer, the GOP layer, and the picture layer. When the corresponding extraction code is detected, the parameter extracting unit 11 detects the corresponding encoded parameter according to the standard. Extract P1. The parameter checking means 12 determines whether the extracted encoding parameter P1 is an effective value that can be supported by the MPEG2 standard or the moving picture decoding apparatus, or is an invalid value. F is set to “1”, and is set to “0” when the value is not valid. If it is not valid, the target encoding parameter type Cp is passed to the parameter replacement means 13, and a predetermined parameter value is obtained by referring to a table as shown in FIG. The replacement parameter P2 is sent to the decoding means 15. The selection means 14 selects the extracted encoding parameter P1 if it is “1”, selects the replacement parameter P2 if it is “0”, and decodes the selection result as the selection parameter P3, depending on the value of the valid flag F. To the conversion means 15. The decoding unit 15 decodes the encoded stream S according to the selection parameter P3 corresponding to the value of the validity flag F.

図2に示すパラメータ値のテーブルは、復号化の前にあらかじめ自由に設定できる構成とする。例えば、シーケンス層にある符号化パラメータとしてアスペクト比情報があるが、その値が禁止された“0”であった場合には、一意に“2”に置き換えて4:3として復号化するように設定することができる。   The parameter value table shown in FIG. 2 has a configuration that can be freely set in advance before decoding. For example, if there is aspect ratio information as an encoding parameter in the sequence layer, but its value is prohibited “0”, it is uniquely replaced with “2” and decoded as 4: 3. Can be set.

このように構成された動画像復号化装置は、シーケンス層・GOP層・ピクチャ層などマクロブロック層より上位の層において、エラーコンシールできない符号化パラメータの場合であってそのパラメータに誤りがある場合でも、対応する符号化ストリームの復号化の可能性を増すことができる。   The moving picture decoding apparatus configured as described above is an encoding parameter that cannot be error concealed in a layer higher than the macroblock layer, such as a sequence layer, a GOP layer, or a picture layer, even if the parameter has an error. , The possibility of decoding the corresponding encoded stream can be increased.

(実施の形態2)
図3は本発明の実施の形態2における動画像復号化装置の構成を示すブロック図である。図3において、実施の形態1の図1におけるのと同じ符号は同一構成要素を指しているので、詳しい説明は省略する。
(Embodiment 2)
FIG. 3 is a block diagram showing the configuration of the moving picture decoding apparatus according to Embodiment 2 of the present invention. In FIG. 3, the same reference numerals as those in FIG. 1 of the first embodiment indicate the same components, and thus detailed description thereof is omitted.

本実施の形態においては、そのパラメータ置換手段13は、パラメータチェック手段12からの符号化パラメータ種別Cpと有効フラグFとを入力し、有効フラグFが有効を示しているときは、パラメータ値のテーブルにおいてそのパラメータ値を、当該の有効であると判定された符号化パラメータがもつパラメータ値に更新し、一方、有効フラグFが無効を示すときは、テーブルに登録されている置換パラメータP2を送出するように構成されている。その他の構成については、実施の形態1と同様である。   In the present embodiment, the parameter replacement unit 13 inputs the encoding parameter type Cp and the valid flag F from the parameter check unit 12, and when the valid flag F indicates valid, the parameter value table The parameter value is updated to the parameter value of the coding parameter determined to be valid at, and when the valid flag F indicates invalid, the replacement parameter P2 registered in the table is transmitted. It is configured as follows. Other configurations are the same as those in the first embodiment.

このように構成された動画像復号化装置は、例えば、1つの符号化ストリームSに複数のシーケンスが存在し、複数のシーケンスで同じ符号化パラメータの値が使用されている場合には、ある1つのシーケンスで無効な値が発生しても、他のシーケンスと同じ符号化パラメータの値を使用することが可能となる。   The moving picture decoding apparatus configured as described above is, for example, when there are a plurality of sequences in one encoded stream S and the same encoding parameter value is used in the plurality of sequences. Even if an invalid value occurs in one sequence, it is possible to use the same encoding parameter value as that in the other sequence.

図4に示す動作例で説明すると、種別が“B”、符号化パラメータ値が“b3”となっている符号化パラメータについて有効フラグFが“1”となっているときは、パラメータ値のテーブルにおいて符号化パラメータ値を旧の“b1”に代えて、現時点での有効と判定された“b3”に更新する。このようにすれば、あらかじめ更新しておいた有効のパラメータ値と置き換えて利用するので、当該のシーケンスを適正に復号化することができる。   In the operation example shown in FIG. 4, when the valid flag F is “1” for a coding parameter whose type is “B” and whose coding parameter value is “b3”, a parameter value table The encoding parameter value is updated to “b3” determined to be valid at the present time instead of the old “b1”. In this way, the sequence is used by replacing it with a valid parameter value that has been updated in advance, so that the sequence can be properly decoded.

(実施の形態3)
本発明の実施の形態3においても、図3に示す構成が適用される。本実施の形態においては、パラメータ置換手段13のパラメータ値のテーブルとして、図5に示すように、符号化パラメータをグループ化し、それぞれの符号化パラメータの置き換え後の値の組み合わせを複数パターン用意した構成とする。この複数パターンの値のうち、どのパターンを使用してエラーコンシールを実現するかをあらかじめ決定しておくことができるが、復号化時にも適応的にどのパターンを使用するか更新されるものとする。
(Embodiment 3)
Also in Embodiment 3 of the present invention, the configuration shown in FIG. 3 is applied. In the present embodiment, as a parameter value table of the parameter replacing unit 13, as shown in FIG. 5, a plurality of patterns of combinations of values obtained by grouping encoding parameters and replacing each encoding parameter are prepared. And Of these multiple pattern values, it is possible to determine in advance which pattern will be used to implement error concealment, but it is assumed that which pattern is used adaptively during decoding. .

図5に記述した値を例に説明すると、あらかじめP1のパターンでパラメータ置換を実現するように決定しておいた場合に、復号化時に、有効フラグFが“1”で、符号化パラメータAが“a3”としてパラメータ置換手段13に通知されると、パラメータ置換手段13で保持しているパラメータ値の採用パターンをP1からP3に更新する。その後、有効フラグFが“0”で、符号化パラメータBが無効であることが通知されると、今まで“b1”としてパラメータ置換していたのが、パターンP3に更新されたことにより、“b2”としてパラメータ置換するようになる。   The value described in FIG. 5 will be described as an example. When it is determined in advance that parameter substitution is to be realized with the pattern P1, the valid flag F is “1” and the encoding parameter A is set at the time of decoding. When notified to the parameter replacement unit 13 as “a3”, the parameter value adoption pattern held in the parameter replacement unit 13 is updated from P1 to P3. Thereafter, when it is notified that the valid flag F is “0” and the encoding parameter B is invalid, the parameter replacement as “b1” up to now is performed by updating to the pattern P3. Parameter substitution is performed as b2 ″.

この例は、1つの符号化パラメータAをキーとして採用パターンを更新するものであるが、キーとなる符号化パラメータが存在しない場合には、パターンに優先度をつけ、その優先度を基に採用パターンを更新していくようにするなど、復号化時に適応的に更新できるものであればどんな構成をとってもよい。   In this example, the adopted pattern is updated using one coding parameter A as a key. However, when there is no coding parameter as a key, a priority is given to the pattern, and the pattern is adopted based on the priority. Any configuration may be adopted as long as it can be adaptively updated at the time of decoding, such as updating the pattern.

このように構成された動画像復号化装置は、あらかじめ各符号化パラメータ間の関連性を考慮したパラメータ置換を実現することができ、無効な符号化パラメータが出現した場合にも、有効な符号化パラメータ群を使用して符号化ストリームの適正な復号化の可能性を適応的に高めることができる。   The moving picture decoding apparatus configured as described above can realize parameter replacement in consideration of the relationship between the respective encoding parameters in advance, and can perform effective encoding even when an invalid encoding parameter appears. Parameters can be used to adaptively increase the likelihood of proper decoding of the encoded stream.

本発明による動画像復号化装置および方法は、復号化対象の符号化ストリーム中にエラーコンシールできない符号化パラメータに誤りがある場合でも、その誤りの符号化パラメータが影響を与える符号化ストリームを復号化できる可能性を高める技術として有用である。MPEG2だけでなく、他の異なる規格により圧縮符号化された符号化ストリームの復号化にも適用できる。   The moving picture decoding apparatus and method according to the present invention decodes an encoded stream affected by an error encoding parameter even if there is an error in an encoding parameter that cannot be error concealed in the decoding target encoding stream. It is useful as a technology that increases the possibilities. The present invention can be applied not only to MPEG2 but also to decoding of encoded streams that have been compression-encoded according to other different standards.

本発明の実施の形態1の動画像復号化装置の構成を示すブロック図1 is a block diagram showing a configuration of a moving picture decoding apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1の動画像復号化装置において、パラメータ置換手段が保持するテーブル情報を示す図The figure which shows the table information which a parameter substitution means hold | maintains in the moving image decoding apparatus of Embodiment 1 of this invention. 本発明の実施の形態2の動画像復号化装置の構成を示すブロック図FIG. 3 is a block diagram showing a configuration of a moving picture decoding apparatus according to Embodiment 2 of the present invention. 本発明の実施の形態2の動画像復号化装置において、パラメータ置換手段が受け取る情報とテーブル情報の更新の様子を示す図The figure which shows the mode of the update of the information and table information which a parameter substitution means receives in the moving image decoding apparatus of Embodiment 2 of this invention. 本発明の実施の形態3の動画像復号化装置において、パラメータ置換手段が保持する、グループ化された符号化パラメータのパターンを示す図The figure which shows the pattern of the grouped encoding parameter which a parameter substitution means hold | maintains in the moving image decoding apparatus of Embodiment 3 of this invention.

符号の説明Explanation of symbols

11 パラメータ抽出手段
12 パラメータチェック手段
13 パラメータ置換手段
14 選択手段
15 復号化手段
Cp 符号化パラメータ種別
D 画像データ
F 有効フラグ
P1 符号化パラメータ
P2 置換パラメータ
P3 選択パラメータ
S 符号化ストリーム
DESCRIPTION OF SYMBOLS 11 Parameter extraction means 12 Parameter check means 13 Parameter replacement means 14 Selection means 15 Decoding means Cp Encoding parameter classification D Image data F Valid flag P1 Encoding parameter P2 Replacement parameter P3 Selection parameter S Encoding stream

Claims (6)

動画像圧縮された符号化ストリームから符号化パラメータを抽出するパラメータ抽出手段と、
前記パラメータ抽出手段により抽出された符号化パラメータの値が有効かどうかチェックして有効フラグを生成するパラメータチェック手段と、
前記パラメータチェック手段により無効と判定された符号化パラメータの値をあらかじめ設定した有効な値に置き換えて置換パラメータを生成するパラメータ置換手段と、
前記パラメータチェック手段による前記有効フラグの値に応じて前記パラメータ抽出手段からの符号化パラメータと前記パラメータ置換手段からの前記置換パラメータの一方を選択する選択手段と、
前記選択手段による選択パラメータにより前記符号化ストリームの復号化を行う復号化手段とを備えている動画像復号化装置。
Parameter extraction means for extracting an encoding parameter from an encoded stream compressed with moving images;
Parameter check means for checking whether the value of the encoding parameter extracted by the parameter extraction means is valid and generating a valid flag;
Parameter replacement means for generating a replacement parameter by replacing the value of the encoding parameter determined to be invalid by the parameter check means with a preset effective value;
A selection unit that selects one of the encoding parameter from the parameter extraction unit and the replacement parameter from the parameter replacement unit according to the value of the valid flag by the parameter check unit;
A moving picture decoding apparatus comprising: decoding means for decoding the encoded stream according to a selection parameter by the selection means.
前記パラメータ置換手段は、前記パラメータチェック手段による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして置き換えを行うべきパラメータ値を前記有効とされた符号化パラメータがもつパラメータ値に更新するように構成されている請求項1に記載の動画像復号化装置。   When the determination of the encoding parameter by the parameter checking unit is valid, the parameter replacement unit updates the parameter value to be replaced as the replacement parameter to the parameter value of the effective encoding parameter. The moving picture decoding apparatus according to claim 1 configured as described above. 前記パラメータ置換手段は、前記置換パラメータとして置き換えを行うべきパラメータ値をあらかじめグループ化して複数パターンを用意しており、適応的に採用パターンを決定するもので、前記パラメータチェック手段による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして採用すべきパターンを前記有効とされた符号化パラメータがもつパラメータ値が属するパターンに更新するように構成されている請求項1に記載の動画像復号化装置。   The parameter replacement means prepares a plurality of patterns by previously grouping parameter values to be replaced as the replacement parameters, and adaptively determines a pattern to be adopted. The moving image decoding according to claim 1, wherein when the determination is valid, the pattern to be adopted as the replacement parameter is updated to a pattern to which a parameter value of the valid encoding parameter belongs. Device. 動画像圧縮された符号化ストリームから符号化パラメータを抽出するパラメータ抽出工程と、
前記パラメータ抽出工程により抽出した符号化パラメータの値が有効かどうかチェックして有効フラグを生成するパラメータチェック工程と、
前記パラメータチェック工程により無効と判定した符号化パラメータの値をあらかじめ設定した有効な値に置き換えて置換パラメータを生成するパラメータ置換工程と、
前記パラメータチェック工程による前記有効フラグの値に応じて前記パラメータ抽出工程での符号化パラメータと前記パラメータ置換工程での前記置換パラメータの一方を選択する選択工程と、
前記選択工程による選択パラメータにより前記符号化ストリームの復号化を行う復号化工程とを含む動画像復号化方法。
A parameter extraction step of extracting an encoding parameter from the encoded compressed video stream;
A parameter check step for checking whether the value of the encoding parameter extracted by the parameter extraction step is valid and generating a valid flag;
A parameter replacement step of generating a replacement parameter by replacing the value of the encoding parameter determined to be invalid by the parameter check step with a preset effective value;
A selection step of selecting one of the encoding parameter in the parameter extraction step and the replacement parameter in the parameter replacement step according to the value of the valid flag in the parameter check step;
And a decoding step of decoding the encoded stream according to a selection parameter in the selection step.
前記パラメータ置換工程では、前記パラメータチェック工程による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして置き換えを行うべきパラメータ値を前記有効とされた符号化パラメータがもつパラメータ値に更新する請求項4に記載の動画像復号化方法。   In the parameter replacement step, when the determination of the encoding parameter by the parameter check step is valid, the parameter value to be replaced as the replacement parameter is updated to the parameter value of the effective encoding parameter. The moving picture decoding method according to claim 4. 前記パラメータ置換工程では、前記置換パラメータとして置き換えを行うべきパラメータ値をあらかじめグループ化して複数パターンを用意しておき、適応的に採用パターンを決定するもので、前記パラメータチェック工程による前記符号化パラメータの判定が有効であるときは、前記置換パラメータとして採用すべきパターンを前記有効とされた符号化パラメータがもつパラメータ値が属するパターンに更新する請求項4に記載の動画像復号化方法。   In the parameter replacement step, a plurality of patterns are prepared by previously grouping parameter values to be replaced as the replacement parameters, and an adopted pattern is adaptively determined. 5. The moving picture decoding method according to claim 4, wherein when the determination is valid, the pattern to be adopted as the replacement parameter is updated to a pattern to which a parameter value included in the valid encoding parameter belongs.
JP2005093797A 2005-03-29 2005-03-29 Apparatus and method for decoding moving picture Pending JP2006279388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005093797A JP2006279388A (en) 2005-03-29 2005-03-29 Apparatus and method for decoding moving picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005093797A JP2006279388A (en) 2005-03-29 2005-03-29 Apparatus and method for decoding moving picture

Publications (1)

Publication Number Publication Date
JP2006279388A true JP2006279388A (en) 2006-10-12

Family

ID=37213685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005093797A Pending JP2006279388A (en) 2005-03-29 2005-03-29 Apparatus and method for decoding moving picture

Country Status (1)

Country Link
JP (1) JP2006279388A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011004551A1 (en) * 2009-07-07 2011-01-13 パナソニック株式会社 Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program
JP2018191269A (en) * 2017-02-24 2018-11-29 トムソン ライセンシングThomson Licensing Method and device of reconstructing image data from decoded image data
CN112954353A (en) * 2015-09-14 2021-06-11 松下知识产权经营株式会社 Decoding device and decoding method
US11310532B2 (en) 2017-02-24 2022-04-19 Interdigital Vc Holdings, Inc. Method and device for reconstructing image data from decoded image data

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011004551A1 (en) * 2009-07-07 2011-01-13 パナソニック株式会社 Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program
CN102204255A (en) * 2009-07-07 2011-09-28 松下电器产业株式会社 Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program
JP5378520B2 (en) * 2009-07-07 2013-12-25 パナソニック株式会社 Moving picture decoding apparatus, moving picture decoding method, moving picture decoding system, integrated circuit, and program
US8811473B2 (en) 2009-07-07 2014-08-19 Panasonic Corporation Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program
CN112954353A (en) * 2015-09-14 2021-06-11 松下知识产权经营株式会社 Decoding device and decoding method
JP2018191269A (en) * 2017-02-24 2018-11-29 トムソン ライセンシングThomson Licensing Method and device of reconstructing image data from decoded image data
US11310532B2 (en) 2017-02-24 2022-04-19 Interdigital Vc Holdings, Inc. Method and device for reconstructing image data from decoded image data
JP7086587B2 (en) 2017-02-24 2022-06-20 インターデジタル ヴイシー ホールディングス, インコーポレイテッド Method and device for reconstructing image data from decoded image data
JP2022130436A (en) * 2017-02-24 2022-09-06 インターデジタル ヴイシー ホールディングス, インコーポレイテッド Method and device for reconstructing image data from decoded image data
JP7340659B2 (en) 2017-02-24 2023-09-07 インターデジタル ヴイシー ホールディングス, インコーポレイテッド Method and apparatus for reconstructing image data from decoded image data

Similar Documents

Publication Publication Date Title
CN101189881B (en) Coding of frame number in scalable video coding
Zou et al. H. 264 stream replacement watermarking with CABAC encoding
JPH11284843A (en) Method and device for incorporating watermark in bit stream representation of digital image sequence
JP2004518373A (en) Watermarking of compressed information signal
KR19990066827A (en) Fault-tolerant mode video codec method and device
JP2006279388A (en) Apparatus and method for decoding moving picture
US8902981B2 (en) Video signal generation apparatus, video signal generation method, video signal generation program, and computer readable recording medium recording the program
JP2008227946A (en) Image decoding apparatus
WO2000049811A1 (en) Moving picture decoding device and moving picture decoding method
JP4997243B2 (en) Image coding apparatus, method thereof and integrated circuit thereof
JP5006631B2 (en) Video data encoding apparatus, video data decoding apparatus, video data encoding method, and video data decoding method
CN114827103B (en) Method, apparatus and computer readable medium for media encoding and decoding
JP2002330279A (en) Method for embedding data in image and method for extracting the data
JP2008252230A (en) Image decoding device, and image decoding method
JP2007281594A (en) Image decoder
US7197078B2 (en) Video coding/decoding buffering apparatus and buffering method thereof
JP4295861B2 (en) Transcoder device
JP2008109259A (en) Moving image coding device and program
WO2024070273A1 (en) Data encoding device, data decoding device and data processing system
Chung et al. A secure digital watermarking scheme for MPEG-2 video copyright protection
JP2005130352A (en) Decoder
CN104469377A (en) H.264 file authentication playing method based on video steganography
JP4414328B2 (en) Image processing apparatus and image processing apparatus
JP2011114770A (en) Image encoding device, image decoding device, image encoding-decoding system, and method for the same
JP2002077922A (en) Picture control system and picture decoder