JP2002165219A - Image-signal decoding device and decoding and encoding device thereof - Google Patents

Image-signal decoding device and decoding and encoding device thereof

Info

Publication number
JP2002165219A
JP2002165219A JP2000362690A JP2000362690A JP2002165219A JP 2002165219 A JP2002165219 A JP 2002165219A JP 2000362690 A JP2000362690 A JP 2000362690A JP 2000362690 A JP2000362690 A JP 2000362690A JP 2002165219 A JP2002165219 A JP 2002165219A
Authority
JP
Japan
Prior art keywords
encoding
image signal
information
coding
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000362690A
Other languages
Japanese (ja)
Other versions
JP4228537B2 (en
Inventor
Motoharu Ueda
基晴 上田
Ichiro Ando
一郎 安藤
Yasuo Inoue
靖夫 井上
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2000362690A priority Critical patent/JP4228537B2/en
Publication of JP2002165219A publication Critical patent/JP2002165219A/en
Application granted granted Critical
Publication of JP4228537B2 publication Critical patent/JP4228537B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a device which can perform satisfactory recoding operation, when a decoding image signal, which is edited in such a way that decoded image signals which are output from a plurality of image-signal decoding devices and on which each encoding parameter before a decoding operation is superposed are changed over, is re-encoded. SOLUTION: In an encoding-information generation circuit 52, information in a decoding-device discriminating signal memory 51 in which a value (decoder ID), indicating the discrimination of a decoding device itself is recorded in addition to image encoding parameters and macroblock encoding parameters. The information is formatted to a bit pattern to be stored in an encoding information memory 42. In an encoding-information superposing circuit 43, image information which is stored in an output frame memory 39 and encoding parameters as encoding information which is stored in the encoding information memory 42 are input, and encoding parameters are superposed on the LSB bit of the color difference signal of the image information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、高能率予測符号化
されている符号化画像信号を復号して得た復号画像信号
に、前記符号化画像信号の符号化時の各マクロブロック
に対応する各符号化パラメータを重畳して出力する画像
信号復号装置に関する。そして、この発明は特に、複数
の画像信号復号装置から出力された復号前の前記各符号
化パラメータが重畳されている復号画像信号を切り替え
ることによって編集された復号画像信号を再度符号化す
る場合に、良好な再符号化を可能とする画像信号復号装
置を提供することを目的としている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoded picture signal obtained by decoding a coded picture signal which has been subjected to high-efficiency predictive coding, which corresponds to each macroblock at the time of coding the coded picture signal. The present invention relates to an image signal decoding device that superimposes and outputs each encoding parameter. The present invention is particularly applicable to a case where a decoded image signal edited by switching a decoded image signal on which each of the encoding parameters before decoding output from a plurality of image signal decoding devices is superimposed is re-encoded. It is an object of the present invention to provide an image signal decoding device capable of performing good re-encoding.

【0002】さらに、本発明は復号前の前記各符号化パ
ラメータが重畳されている複数の復号画像信号を切り替
えることによって編集された復号画像信号を再度符号化
する場合に、良好な再符号化を可能とする画像信号復号
・符号化装置を提供することを目的としている。
Further, the present invention provides good re-encoding when a decoded image signal edited by switching a plurality of decoded image signals on which the respective encoding parameters before decoding are superimposed is re-encoded. It is an object of the present invention to provide an image signal decoding / encoding device that enables the decoding.

【0003】[0003]

【従来の技術】近年、デジタル化された画像・音声信号
に対し高能率予測符号化による圧縮を行い、その圧縮さ
れた情報を用いて、衛星波、地上波、電話回線などの伝
送路により情報を配信するサービスが実用化されてい
る。このようなサービスにおいて、動画像信号・音声信
号の高能率予測符号化方式として国際規格であるMPEG2
が用いられている。MPEG2は、画像信号の隣接画素間の
相関(空間方向の相関)、及び、フレームもしくはフィ
ールドの相関(時間方向の相関)を利用して、画像信号
の情報量を圧縮する符号化方式である。
2. Description of the Related Art In recent years, digitalized image and audio signals are compressed by highly efficient predictive coding, and the compressed information is used to transmit information through transmission lines such as satellite waves, terrestrial waves, and telephone lines. Has been put to practical use. In such services, MPEG2, which is an international standard, is used as a high-efficiency predictive coding method for video and audio signals.
Is used. MPEG2 is an encoding method that compresses the information amount of an image signal using correlation between adjacent pixels of an image signal (correlation in a spatial direction) and correlation between frames or fields (correlation in a time direction).

【0004】MPEG2規格における画像符号化は次のよう
なアルゴリズムで処理される。まず時間的に連続する画
像フレームを、基準フレームと予測フレームにふりわけ
る。基準フレームは空間方向の相関のみを用いることで
そのフレームの符号化データのみで復元することができ
る。予測フレームは、基準となるフレームからの時間方
向の相関と空間方向の相関とを共に用いることにより、
基準フレームに対してより符号化効率を高めることがで
きる。予測フレームは、復号された基準フレームと符号
化データより復元される。
[0004] Image encoding in the MPEG2 standard is processed by the following algorithm. First, temporally continuous image frames are sorted into a reference frame and a predicted frame. The reference frame can be restored using only the encoded data of the frame by using only the correlation in the spatial direction. The predicted frame is obtained by using both the temporal correlation and the spatial correlation from the reference frame,
Encoding efficiency can be further improved with respect to the reference frame. The prediction frame is restored from the decoded reference frame and the encoded data.

【0005】具体的なMPEG2画像符号化で用いられる符
号化体系について図3を用いて説明する。基準フレーム
であるIフレームは定期的に存在し復号処理の基準とな
る。また、予測フレームには、時間的に前の基準フレー
ムからの予測のみで符号化されるPフレームと、時間的
に前後の2つの基準フレームから予測符号化されるBフレ
ームが存在する。Pフレームは、自身が予測フレームで
あると共に続くBフレームやPフレームの基準フレームに
もなる。
A specific encoding system used in MPEG2 image encoding will be described with reference to FIG. The I frame, which is a reference frame, exists periodically and serves as a reference for decoding processing. Further, the predicted frames include a P frame encoded by only prediction from a temporally previous reference frame and a B frame encoded by predictive encoding from two temporally preceding and succeeding reference frames. The P frame itself is a predicted frame and also serves as a reference frame for the subsequent B frame and P frame.

【0006】Iフレームの画像信号は輝度信号で水平16
画素×垂直16画素のマクロブロックと呼ばれる処理単位
に分割される。分割されたマクロブロックのデータは、
更に8×8画素単位の2次元ブロックに分割され、直交変
換の一種であるDCT(離散コサイン変換)処理が行われ
る。DCT変換後の信号はその2次元ブロックの周波数成分
に準じた値を示すため、一般的な画像では低域に成分が
集中する。また、高周波数成分の情報劣化は低周波数成
分の情報劣化よりも視覚的に目立ちにくい性質がある。
よって低域成分を細かく高域成分を荒く量子化し、その
量子化の係数成分と係数成分がない(係数0)ものとの
連続する長さを可変長符号化することにより、情報量を
圧縮している。
An I-frame image signal is a luminance signal which is
It is divided into processing units called macroblocks of pixels × vertical 16 pixels. The data of the divided macro block is
The image data is further divided into two-dimensional blocks in units of 8 × 8 pixels, and DCT (discrete cosine transform) processing, which is a type of orthogonal transform, is performed. Since the signal after the DCT conversion shows a value according to the frequency component of the two-dimensional block, the component concentrates on a low frequency in a general image. In addition, the information deterioration of the high frequency component has the property of being less visually noticeable than the information deterioration of the low frequency component.
Therefore, the amount of information is compressed by quantizing the low-frequency component finely and roughly the high-frequency component, and performing variable-length coding on the continuous length of the quantized coefficient component and the coefficient component having no coefficient component (coefficient 0). ing.

【0007】Pフレームの画像信号は、Iフレームと同様
に16×16画素のマクロブロックに分割される。Pフレー
ムでは、マクロブロック毎に基準フレームとの間の動き
ベクトルを計算する。動きベクトルの検出は一般的にブ
ロックマッチングにより求められる。マクロブロックの
各画素と、動きベクトル値だけマクロブロックの存在す
る水平・垂直の位置を動かした場所の基準フレームを16
×16画素にブロック化した各画素の差分絶対値総和(も
しくは差分二乗総和)を求め、その最小値をとる動きベ
クトルの値を、検出された動きベクトルとして出力す
る。
[0007] The image signal of the P frame is divided into macroblocks of 16x16 pixels, similarly to the I frame. In the P frame, a motion vector between the macro frame and a reference frame is calculated. The detection of a motion vector is generally obtained by block matching. The reference frame at the position where the horizontal and vertical positions of the macroblock are moved by the motion vector value and each pixel of the macroblock is set to 16
The sum of absolute difference values (or sum of squared differences) of each pixel divided into × 16 pixels is obtained, and the value of the motion vector having the minimum value is output as the detected motion vector.

【0008】マクロブロックの各画素は、動きベクトル
により切り出された2次元ブロックの各画素との差分が
とられる。正確な動きベクトルが検出された場合には、
差分ブロックの情報量は元のマクロブロックの持ってい
る情報量よりも大幅に少なくなるため、Iフレームより
も荒い量子化処理が可能となる。実際には差分ブロック
を符号化するか非差分ブロック(Intraブロック)を符
号化するかを選択し(予測モード判定)、選択されたブ
ロックに対してIフレームと同様のDCT・可変長符号化処
理を施し、情報量が圧縮される。
The difference between each pixel of the macroblock and each pixel of the two-dimensional block extracted by the motion vector is calculated. If an accurate motion vector is detected,
Since the information amount of the difference block is much smaller than the information amount of the original macro block, a quantization process that is rougher than that of the I frame can be performed. Actually, it selects whether to encode the differential block or the non-differential block (Intra block) (prediction mode determination), and performs the same DCT / variable-length encoding process on the selected block as the I frame And the amount of information is compressed.

【0009】Bフレームは、Pフレームと同様の処理が行
われるが、基準フレームが前後に存在するため、それぞ
れの基準フレームとの間で動きベクトルを検出する。B
フレームでは予測の選択肢が、前基準フレームからの予
測(Forward予測)・後基準フレームからの予測(Backw
ard予測)・2つの予測ブロックの画素毎平均値(Avera
ge予測)、の3種類存在し、Intraブロックを合わせた4
種類から予測モード判定を行う。Bフレームは、時間的
に前後の基準フレームから予測が可能となるため、Pフ
レームよりもさらに予測効率が向上する。よって、一般
的にPフレームよりもさらに荒く量子化される。選択さ
れたブロックはI、Pフレームと同様の符号化処理がなさ
れる。
The processing similar to that of the P frame is performed on the B frame. However, since the reference frames exist before and after, a motion vector is detected between each of the reference frames. B
In the frame, the choices of prediction are prediction from the previous reference frame (Forward prediction) and prediction from the rear reference frame (Backw
ard prediction) ・ Average value per pixel of two prediction blocks (Avera
ge prediction), there are 3 types, and 4 including Intra blocks
The prediction mode is determined from the type. Since the B frame can be predicted from the reference frame that is temporally preceding and succeeding, the prediction efficiency is further improved as compared with the P frame. Therefore, quantization is generally performed more coarsely than P frames. The selected block is subjected to the same encoding processing as the I and P frames.

【0010】Bフレームは復号される為に、時間的に後
の基準フレームからの予測処理が行われるため、基準フ
レームは、Bフレームに先行して符号化される。そのた
め、入力された画像信号は図4に示される順番に並べ替
えが行われ、符号化される。復号処理では、逆の並べ替
えを行ない出力することにより、入力された画像信号の
順番に復号画像が再生される。
[0010] Since the B frame is decoded, a prediction process is performed from a reference frame that is temporally later. Therefore, the reference frame is encoded prior to the B frame. Therefore, the input image signals are rearranged and encoded in the order shown in FIG. In the decoding process, the decoded images are reproduced in the order of the input image signals by performing reverse sorting and outputting.

【0011】MPEG2画像符号化を実現する従来の一般的
な符号化装置と復号装置とをそれぞれ図6,図7に示し
説明する。
A conventional general encoding apparatus and a conventional decoding apparatus for realizing MPEG2 image encoding will be described with reference to FIGS. 6 and 7, respectively.

【0012】図6に示される符号化装置では、入力され
たデジタル画像信号がフレームメモリ(入力画像メモ
リ)1に記録され、符号化シンタックスに従って符号化
される順番に並べ替えを行うための遅延がなされる。入
力画像メモリ1から出力されたデジタル信号は、2次元
ブロック変換回路2にてマクロブロックが切り出され
る。
In the encoding apparatus shown in FIG. 6, an input digital image signal is recorded in a frame memory (input image memory) 1, and a delay for rearranging the input digital image signal in the encoding order according to the encoding syntax. Is made. The digital signal output from the input image memory 1 is cut out by a two-dimensional block conversion circuit 2 into macroblocks.

【0013】基準フレームにおいては、マクロブロック
データは直交変換回路4にて8×8画素単位でDCT変換が
行われ、量子化回路4に送られる。量子化回路4におい
て量子化されたDCT係数は、符号化回路5において符号
化テーブル16の係数に対応したアドレスを参照するこ
とにより可変長または固定長の符号化が行われ、マルチ
プレクサ6により上記符号化データと画面内でのマクロ
ブロックの場所等を示す付加情報(符号化パラメータ)
とが多重化され、ビットストリームとして出力される。
In the reference frame, the DCT is performed on the macroblock data in units of 8 × 8 pixels by the orthogonal transformation circuit 4 and sent to the quantization circuit 4. The DCT coefficient quantized in the quantization circuit 4 is subjected to variable-length or fixed-length encoding by referring to an address corresponding to the coefficient in the encoding table 16 in the encoding circuit 5, Information (encoding parameter) indicating the location of the macroblock in the screen and the coded data
Are multiplexed and output as a bit stream.

【0014】一方、量子化回路4で量子化されたDCT係
数は逆量子化回路7、逆直交変換回路8において逆量子
化及び逆DCT処理が行われ、符号化ビットストリームが
復号されてデブロック回路9及び加算回路10を介して
参照画像メモリ11に格納される。
On the other hand, the DCT coefficients quantized by the quantization circuit 4 are subjected to inverse quantization and inverse DCT processing in an inverse quantization circuit 7 and an inverse orthogonal transform circuit 8, and an encoded bit stream is decoded and deblocked. The data is stored in the reference image memory 11 via the circuit 9 and the adding circuit 10.

【0015】続いて予測フレームにおいては、入力画像
メモリ1から切り出されたマクロブロックデータと参照
画像メモリ11に格納されている画像との間で動きベク
トル検出回路12によって、画像間での動きベクトルが
求められる。出力された動きベクトルにより、予測ブロ
ックが動き補償予測回路13により参照画像メモリ11
から切り出され、動き補償予測回路13では予測モード
の選択を行ない、符号化する入力画像ブロックとの差分
信号を減算器14で生成し直交変換回路3に送り出す。
差分信号は前記フレームの各ブロックと同様の処理が行
われ、DCT係数が量子化処理され動きベクトルや予測モ
ード(符号化パラメータ)と共にビットストリームとし
て出力される。
Subsequently, in the predicted frame, the motion vector between the macroblock data cut out from the input image memory 1 and the image stored in the reference image memory 11 is calculated by the motion vector detection circuit 12. Desired. Based on the output motion vector, the prediction block is converted by the motion compensation prediction circuit 13 into the reference image memory 11.
The motion compensation prediction circuit 13 selects a prediction mode, generates a difference signal from the input image block to be encoded by the subtractor 14, and sends the signal to the orthogonal transformation circuit 3.
The difference signal is subjected to the same processing as that of each block of the frame, the DCT coefficients are quantized, and output as a bit stream together with a motion vector and a prediction mode (encoding parameter).

【0016】符号量の制御に関しては、出力されたスト
リームの符号量と符号量制御回路15において目標とす
る符号量との比較がとられ、目標符号量に近づけるため
に量子化回路4の量子化の細かさ(量子化スケール)を
制御する。3種類の情報量の異なるフレームタイプに対
し、設定された符号化レートに対してそれぞれのフレー
ムタイプの性質と出現頻度を用いて、各フレームに対す
る目標符号量を算出する。また目標符号量は、復号装置
のストリームバッファを仮想的にシミュレートして、バ
ッファのオーバーフロー・アンダーフローが起きないよ
うに制限される。量子化スケールは、スケールと出力符
号量とが一般的にほぼ反比例の関係があることを利用し
て、各フレームタイプ毎に目標符号量に対する量子化ス
ケール値を計算し、量子化処理を行う。ブロック毎に目
標符号量に近づく方向に量子化スケールを変動させるこ
とによって、目標符号量内に符号化ビットストリームを
抑える。
As for the control of the code amount, the code amount of the output stream is compared with the target code amount in the code amount control circuit 15, and the quantization of the quantization circuit 4 is performed in order to approach the target code amount. Control (quantization scale). For the three types of frames having different amounts of information, the target code amount for each frame is calculated using the characteristics and appearance frequency of each frame type for the set encoding rate. Further, the target code amount is virtually simulated for the stream buffer of the decoding device, and is limited so that the buffer does not overflow or underflow. The quantization scale calculates the quantization scale value for the target code amount for each frame type and performs the quantization process by using the fact that the scale and the output code amount generally have an inversely proportional relationship. By changing the quantization scale in a direction approaching the target code amount for each block, the coded bit stream is suppressed within the target code amount.

【0017】図7に示される復号装置では、まず入力さ
れたビットストリームがストリームバッファ31に蓄え
られる。符号化ビットストリームには仮想的にシミュレ
ートされたバッファ値が書かれており、そのバッファ値
分ビットストリームが蓄えられてから復号処理を行うこ
とにより、バッファが破綻して復号処理が止まることを
防いでいる。ビットストリームは、可変長復号回路32
にて量子化スケール、予測モード、動きベクトル等の符
号化パラメータを分離すると共に、量子化されたDCT係
数を復号する。復号されたDCT係数は符号化回路内と同
様の逆量子化回路33、逆直交変換回路34において逆
量子化及び逆DCT処理が行われ、Intraブロックもしくは
差分ブロックが復号され、デブロック回路35を介して
加算器36に送られる。
In the decoding device shown in FIG. 7, an input bit stream is first stored in a stream buffer 31. The coded bit stream contains a virtually simulated buffer value, and the decoding process is performed after the buffer value is stored for the buffer value, so that the buffer is broken and the decoding process stops. I'm preventing. The bit stream is sent to the variable length decoding circuit 32.
Separates encoding parameters such as quantization scale, prediction mode, and motion vector, and decodes quantized DCT coefficients. The decoded DCT coefficient is subjected to inverse quantization and inverse DCT processing in an inverse quantization circuit 33 and an inverse orthogonal transform circuit 34 similar to those in the encoding circuit, and an Intra block or a difference block is decoded. Via the adder 36.

【0018】予測ブロックの場合には、動き補償予測回
路37にて復号した予測モードと動きベクトル値より、
参照画像メモリ38から切り出された予測ブロックとの
加算が加算器36で行われ、マクロブロックの画像信号
が復元される。IまたはPフレームの場合には復元された
マクロブロックデータは参照画像メモリ38に書き込ま
れる。Bフレームの場合には、出力フレームメモリ39
に蓄えられ画像信号として出力される。参照画像メモリ
38に書かれたI、Pフレームの画像データは図5のタイ
ミングに合わせて、出力するタイミングで出力フレーム
メモリ39に加えられBフレームと同様に出力される。
In the case of a prediction block, the prediction mode decoded by the motion compensation prediction circuit 37 and the motion vector value
The addition with the prediction block cut out from the reference image memory 38 is performed by the adder 36, and the image signal of the macroblock is restored. In the case of an I or P frame, the restored macroblock data is written to the reference image memory 38. In the case of a B frame, the output frame memory 39
And output as an image signal. The image data of the I and P frames written in the reference image memory 38 is added to the output frame memory 39 at the output timing in accordance with the timing of FIG.

【0019】このような画像符号化を用いた情報配信す
るシステムにおいて、一旦符号化されたストリームを復
号して再度符号化処理を行う必要性が存在する。一つは
情報を取材・記録された場所から情報を配信する場所に
伝送する場合である。伝送路としては有線・無線の通信
回線や記録媒体が考えられるが、伝送路と配信するシス
テムの伝送路の所有する帯域幅が異なる場合には、ビッ
トストリームのビットレートを変更する必要がある。他
には、記録された画像信号を編集・加工する場合が存在
する。複数の画像信号を繋ぎあわせたり、画像信号上に
文字テロップ等を挿入するような場合には、ストリーム
を復号する事なしに実現することは難しい。
In such a system for distributing information using image coding, there is a need to decode a stream that has been once coded and perform the coding process again. One is a case where information is transmitted from a place where information is collected and recorded to a place where information is distributed. The transmission path may be a wired / wireless communication line or a recording medium, but if the transmission path and the transmission path of the distribution system have different bandwidths, it is necessary to change the bit rate of the bit stream. In addition, there is a case where a recorded image signal is edited and processed. In a case where a plurality of image signals are connected or a character telop or the like is inserted into the image signals, it is difficult to realize the stream without decoding the stream.

【0020】このような、再符号化処理を行う装置(ト
ランスコーダ)において、再符号化時の符号化劣化を少
なくするために、トランスコーダで伝送される画像信号
(復号されたベースバンド信号)上に、符号化された際
のフレームタイプ等のフレーム符号化情報やマクロブロ
ック符号化パラメータを重畳させて伝送する方式が考え
られている。
In such an apparatus (transcoder) for performing re-encoding processing, an image signal (decoded baseband signal) transmitted by the transcoder is reduced in order to reduce encoding deterioration at the time of re-encoding. A method of superimposing and transmitting frame coding information such as a frame type at the time of coding and a macroblock coding parameter is considered above.

【0021】MPEG2符号化においては、Iフレーム、Pフ
レーム、Bフレームの順で画像信号の品質が劣化してい
る場合が一般的である。Iフレームは基準となるフレー
ムであるため、他のフレームより細かく量子化されてい
ると共に、他の画像からの参照がないため、参照フレー
ム劣化の影響を受けない。Pフレーム、Bフレームとなる
につれて、荒く量子化されると共に参照フレーム劣化の
影響を受けやすい。再符号化する時にBフレームとなっ
ていたフレームをIフレームとして符号化すると、劣化
の大きかった画像を基準フレームとして使用したため、
予測されるフレームがその劣化の影響を受け、再符号化
した際の画質劣化が大きくなる。符号化パラメータを参
照して、再符号化時のフレームタイプを合わせてやるこ
とで、上記劣化要因が低減される。また、符号化パラメ
ータ内のマクロブロック符号化パラメータを用いること
で、動きベクトル検出のための処理量を削減できると共
に、量子化スケールと符号化ビット数より、マクロブロ
ックの持っている情報量の指針が得られ、ビットレート
変換時に良好な符号量コントロールが期待できる。
In MPEG2 encoding, the quality of an image signal generally deteriorates in the order of an I frame, a P frame, and a B frame. Since the I frame is a reference frame, it is quantized more finely than other frames, and there is no reference from other images, so that the I frame is not affected by reference frame deterioration. As the P frame and the B frame become, they are roughly quantized and are easily affected by reference frame degradation. When a frame that was a B frame when re-encoding was encoded as an I frame, an image with large deterioration was used as a reference frame,
The predicted frame is affected by the deterioration, and the image quality at the time of re-encoding becomes large. By referring to the encoding parameters and matching the frame type at the time of re-encoding, the above-mentioned degradation factor is reduced. In addition, by using the macroblock coding parameter in the coding parameter, the processing amount for detecting the motion vector can be reduced, and the information amount of the macroblock can be obtained based on the quantization scale and the number of coding bits. And good code amount control can be expected during bit rate conversion.

【0022】再符号化のための符号化パラメータは、時
間的、空間的に、ビデオ信号に対応づけて、復号処理手
段から再符号化処理手段に伝送する必要がある。
The encoding parameters for re-encoding need to be transmitted from the decoding processing means to the re-encoding processing means in temporal and spatial correspondence with the video signal.

【0023】これを実現するための伝送方法として、標
準テレビ品質4:2:2デジタルコンポーネントビデオ信号
にMPEG-2ビデオの符号化パラメータを重畳して伝送する
規定を定めたSMPTE 319Mがある。また、高品位テレビ品
質4:2:2デジタルコンポーネントビデオ信号にMPEG-2ビ
デオの符号化パラメータを重畳して伝送する規定を定め
るべくSMPTE 351M案が現在審議中である。
As a transmission method for realizing this, there is SMPTE 319M which defines a rule of superimposing an MPEG-2 video encoding parameter on a standard television quality 4: 2: 2 digital component video signal and transmitting the signal. Also, the SMPTE 351M proposal is currently under discussion to determine the provisions for superimposing and transmitting MPEG-2 video coding parameters on high-definition television quality 4: 2: 2 digital component video signals.

【0024】符号化パラメータの具体的な重畳方法につ
いてSMPTE 319Mを例として説明する。ベースバンド信号
は輝度信号(Y)及び2つの色差信号(Cb,Cr)が4:
2:2のサンプリング比率で伝送され、それぞれ1画素
の値が10ビットで構成されている(1024レベル)。MPEG
2画像符号化においては、復号画像の情報量は8ビット
(256レベル)で構成されるので、復号画像信号の下位2
ビットは伝送不要領域となる。この領域に、符号化パラ
メータを重畳する。SMPTE 319M Table 3の例では、伝
送不要領域の内のCb,Crの最下位ビットを重畳領域とし
ている。
A specific method of superimposing the coding parameters will be described with reference to SMPTE 319M as an example. The baseband signal includes a luminance signal (Y) and two color difference signals (Cb, Cr).
The data is transmitted at a sampling ratio of 2: 2, and each pixel value is composed of 10 bits (1024 levels). MPEG
In two-image encoding, the information amount of a decoded image is composed of 8 bits (256 levels), so that
The bit becomes a transmission unnecessary area. The coding parameter is superimposed on this area. In the example of SMPTE 319M Table 3, the least significant bit of Cb and Cr in the transmission unnecessary area is set as the superimposition area.

【0025】具体的に重畳する符号化パラメータの例と
してSMPTE 319Mにて規格化された符号化パラメータ(SM
PTE 319M Figure 1参照)を説明する。各々のマクロブ
ロックを構成する16×16画素の領域毎に、各マクロブロ
ック単位の符号化情報であるマクロブロック符号化パラ
メータと、フレーム符号化情報(画像単位の符号化情
報)の一部であるピクチャ符号化パラメータとを書き込
む。(このマクロブロック符号化パラメータとピクチャ
符号化パラメータとを合わせてここでは符号化パラメー
タと呼んでいる。) Cb,CrのLSBを合わせると256ビット存在し、その256
ビットがSMPTE 319M Figure 1の情報を示す。マクロブ
ロック符号化パラメータとしては、動きベクトル値、予
測モード、量子化スケール、有効DCT係数を有する8×8
ブロックのパターン(coded#block#pattern)等の付加
情報と、各付加情報及びDCT係数を符号化した際に要し
たビット数を情報として記録する。
As an example of a coding parameter to be superimposed specifically, a coding parameter standardized by SMPTE 319M (SM
PTE 319M See Figure 1). For each 16 × 16 pixel area constituting each macroblock, it is a macroblock coding parameter, which is coding information for each macroblock, and a part of frame coding information (coding information for each image). Write picture coding parameters. (The macroblock coding parameter and the picture coding parameter are collectively referred to as a coding parameter here.) When the LSBs of Cb and Cr are combined, there are 256 bits, and 256 bits exist.
The bits indicate the information of SMPTE 319M Figure 1. 8 × 8 with motion vector value, prediction mode, quantization scale, effective DCT coefficient as macroblock coding parameters
Additional information such as a block pattern (coded_block_pattern) and the number of bits required when each additional information and DCT coefficient are encoded are recorded as information.

【0026】また、picture#element#informationの領
域には、SMPTE 319M Table 4で示されるようなフレー
ム符号化情報がマクロブロック毎に分割されて(この分
割されたものがピクチャ符号化パラメータである)書き
込まれる。この領域はマクロブロック毎に32ビットずつ
存在し、フレーム全体に渡ってすべてのマクロブロック
のpicture#element#informationを集めると、複数回コ
ピーされたフレーム符号化情報が復元できる。
In the picture_element_information area, frame coding information as shown in SMPTE 319M Table 4 is divided for each macroblock (this division is a picture coding parameter). Written. This area has 32 bits for each macroblock. If picture_element_information of all macroblocks is collected over the entire frame, frame coding information copied a plurality of times can be restored.

【0027】このような、符号化パラメータを復号装置
から符号化装置に伝送するトランスコーダの例を図8に
示す。この例では、復号装置と符号化装置との間に合成
装置を挿入し、復号されたベースバンド信号に対して編
集加工された画像を符号化装置で再符号化するものであ
る。図8に示す復号装置及び符号化装置の構成図を図
9,図10にそれぞれ示し説明する。なお、図6,図7
にそれぞれ示した符号化装置、復号装置と同様な部分に
は同一の符号を付し、その部分の説明は省略する。
FIG. 8 shows an example of such a transcoder for transmitting the coding parameters from the decoding device to the coding device. In this example, a synthesizing device is inserted between a decoding device and an encoding device, and an image obtained by editing a decoded baseband signal is re-encoded by the encoding device. The configuration diagrams of the decoding device and the encoding device shown in FIG. 8 will be described with reference to FIGS. 9 and 10, respectively. 6 and 7
The same reference numerals are given to the same parts as those of the encoding apparatus and the decoding apparatus, respectively, and the description of the parts is omitted.

【0028】図9に示す復号装置の可変長復号回路32
は、復号した際のフレーム符号化情報とマクロブロック
符号化パラメータ及び、マクロブロックの符号化ビット
数を算出し、符号化情報生成回路41に入力する。符号
化情報生成回路41においては、符号化パラメータであ
るピクチャ符号化パラメータ及びマクロブロック符号化
パラメータをSMPTE 319M Figure 1のようなビットパタ
ーンにフォーマットし、符号化情報メモリ42に蓄え
る。
The variable length decoding circuit 32 of the decoding device shown in FIG.
Calculates the frame coding information and the macroblock coding parameter at the time of decoding, and the number of bits of the macroblock to be coded, and inputs them to the coded information generation circuit 41. In the coding information generation circuit 41, the picture coding parameter and the macroblock coding parameter, which are coding parameters, are formatted into a bit pattern as shown in SMPTE 319M Figure 1 and stored in the coding information memory 42.

【0029】符号化情報重畳回路43においては、出力
フレームバッファ39に蓄えられている画像情報と、符
号化情報メモリ42に蓄えられている符号化パラメータ
を入力し、画像情報の色差信号のLSBビットに符号化パ
ラメータを重畳する。符号化情報メモリ42は、I、P、
Bフレームの出力並び替えに対応するように複数フレー
ム分具備しており、符号化情報重畳回路43はフレーム
タイプによりとり出す符号化パラメータの順番を変更す
る。
The coded information superimposing circuit 43 receives the image information stored in the output frame buffer 39 and the coding parameters stored in the coded information memory 42, and inputs the LSB bits of the color difference signal of the image information. Is superimposed with the encoding parameter. The coded information memory 42 stores I, P,
A plurality of frames are provided so as to correspond to the output rearrangement of the B frames, and the encoded information superimposing circuit 43 changes the order of the encoding parameters to be extracted depending on the frame type.

【0030】図10に示す符号化装置においては、符号
化情報分離回路21にて入力画像メモリの画像信号から
符号化パラメータを抜き取る。抜き取られた符号化パラ
メータは、符号化情報メモリ22に蓄えられる。符号化
シンタックス制御回路24では、抜き取られた符号化パ
ラメータからフレームタイプを検出し、入力画像を符号
化順に並べ替える制御を行う。フレームの符号化パラメ
ータを抜き取ることが出来ない場合には、非検出信号が
符号化情報分離回路21から送られ、従来の通常の符号
化処理と同様に符号化装置内で符号化シンタックスを構
成し、符号化処理を行う(符号化パラメータが重畳され
ていない画像信号に対する処理と同様の通常の符号化処
理を行う)。マクロブロック情報生成回路23では、符
号化情報メモリ22に格納されている符号化パラメータ
を符号化シンタックスに応じて順番を入れ替えて読み込
み、各マクロブロックに対する符号化パラメータを抜き
出す。
In the coding apparatus shown in FIG. 10, a coding information separating circuit 21 extracts coding parameters from an image signal in an input image memory. The extracted coding parameters are stored in the coding information memory 22. The encoding syntax control circuit 24 detects the frame type from the extracted encoding parameters and performs control to rearrange the input images in the encoding order. If the coding parameters of the frame cannot be extracted, a non-detection signal is sent from the coding information separation circuit 21 and the coding syntax is formed in the coding device in the same manner as in the conventional normal coding processing. Then, an encoding process is performed (a normal encoding process similar to the process for an image signal on which an encoding parameter is not superimposed is performed). The macroblock information generation circuit 23 reads the coding parameters stored in the coding information memory 22 in a different order according to the coding syntax, and extracts the coding parameters for each macroblock.

【0031】抜き出された符号化パラメータは、動き補
償予測回路13、符号量制御回路15に伝送される。動
き補償予測回路13では、符号化パラメータに存在する
動きベクトルと予測モードを用い、参照画像メモリ11
から予測ブロックを切り出し、符号化する入力画像ブロ
ックとの差分信号を生成し、直交変換回路3に送り出
す。フレームでの符号化パラメータもしくは、マクロブ
ロック毎の符号化パラメータを抜き取ることができなか
った場合には、非検出信号が符号化情報分離回路21か
ら動き補償予測回路13に送られ、従来の符号化処理と
同様に動きベクトル検出及び予測モード選択処理が行わ
れる。
The extracted coding parameters are transmitted to the motion compensation prediction circuit 13 and the code amount control circuit 15. The motion compensation prediction circuit 13 uses the motion vector and the prediction mode that are present in the coding parameters, and uses the reference image memory 11
, A difference signal from the input image block to be encoded is generated, and sent to the orthogonal transformation circuit 3. If the coding parameter in the frame or the coding parameter for each macroblock cannot be extracted, a non-detection signal is sent from the coding information separation circuit 21 to the motion compensation prediction circuit 13 and the conventional coding Motion vector detection and prediction mode selection processing are performed in the same manner as the processing.

【0032】符号量制御回路15では、マクロブロック
毎の符号化した際の量子化スケール及び要したビット数
が符号化パラメータとして入力され、現在制御ターゲッ
トである符号化ビットレートでの設定符号量と比較処理
を行うことにより、適切な量子化スケールを決定し、符
号化処理を行う。
In the code amount control circuit 15, the quantization scale and the required number of bits at the time of coding for each macroblock are input as coding parameters, and the set code amount at the coding bit rate which is the current control target is obtained. By performing the comparison process, an appropriate quantization scale is determined, and the encoding process is performed.

【0033】[0033]

【発明が解決しようとする課題】符号化された画像信号
を一度復号してから編集する際に、複数の復号装置から
出力されるベースバンド復号信号を切り替えて編集する
場合がある。この編集処理を行うトランスコーディング
装置としては、例えば、図8に示したように、複数の復
号装置と一つの符号化装置との間に画像切替器を挿入し
た装置が考えられる。復号したベースバンド信号(画像
信号)に対して、切替タイミングに応じて画像切替器に
よって切り替え処理を行い、その切り替え処理を行った
ベースバンド信号を符号化装置に入力して再符号化す
る。この場合、切替タイミングにおけるフレーム単位の
符号化情報の連続性が断ち切られることを認識できず
に、誤った符号化情報を再符号化時に使用してしまう問
題があった。また、切替タイミングがフレーム内で起こ
るような場合には、マクロブロック符号化パラメータが
一画面内(一画像単位内)の部分によって異なる復号装
置の出力、つまり異なるストリームの符号化パラメータ
となり、再符号化時に誤って使用すると動きベクトルや
予測モード等のマクロブロック符号化パラメータに矛盾
が生じ、画質の劣化を生じる問題が発生する。また、符
号化パラメータが破壊されたと認識できた場合でも、フ
リーで再符号化を行うことになり、良好なトランスコー
ディング機能が実現できなかった。
When an encoded image signal is decoded once and then edited, there is a case where a baseband decoded signal output from a plurality of decoding devices is switched and edited. As a transcoding device that performs this editing process, for example, as shown in FIG. 8, a device in which an image switch is inserted between a plurality of decoding devices and one encoding device can be considered. Switching processing is performed on the decoded baseband signal (image signal) by an image switch according to the switching timing, and the baseband signal that has been subjected to the switching processing is input to an encoding device and re-encoded. In this case, there is a problem in that it is not possible to recognize that the continuity of the coded information in frame units at the switching timing is cut off, and erroneous coded information is used at the time of re-coding. If the switching timing occurs in a frame, the macroblock coding parameter becomes an output of a different decoding device depending on a portion within one screen (one image unit), that is, becomes a coding parameter of a different stream. If used incorrectly at the time of conversion, inconsistency occurs in macroblock coding parameters such as a motion vector and a prediction mode, causing a problem of deteriorating image quality. Further, even if it is possible to recognize that the encoding parameter has been destroyed, re-encoding is performed free, and a good transcoding function cannot be realized.

【0034】本発明は、複数の画像信号復号装置から出
力された復号前の各符号化パラメータが重畳されている
復号画像信号を切り替えることによって編集された復号
画像信号を再度符号化する場合に、良好な再符号化を可
能とする画像信号復号装置、及び画像信号復号・符号化
装置を提供することを目的としている。
According to the present invention, when a decoded image signal edited by switching between decoded image signals output from a plurality of image signal decoding apparatuses and superimposed with respective encoding parameters before decoding is re-encoded, It is an object of the present invention to provide an image signal decoding device capable of performing good re-encoding and an image signal decoding / encoding device.

【0035】[0035]

【課題を解決するための手段】そこで、上記課題を解決
するために本発明は、下記の装置を提供するものであ
る。 (1)高能率予測符号化されている符号化画像信号を復
号して得た復号画像信号に、前記符号化画像信号の符号
化時の各マクロブロックに対応する各符号化パラメータ
を重畳して出力する画像信号復号装置であり、前記各符
号化パラメータは、各マクロブロック単位の符号化情報
であるマクロブロック符号化パラメータと、画像単位の
符号化情報の一部であるピクチャ符号化パラメータとを
含むものである画像信号復号装置において、その画像信
号復号装置の識別信号を前記各符号化パラメータに付加
し、前記識別信号を付加した符号化パラメータを前記復
号画像信号に重畳する重畳手段を設けたことを特徴とす
る画像信号復号装置。 (2)高能率予測符号化されている符号化画像信号を復
号して得た復号画像信号に、前記符号化画像信号の符号
化時の各マクロブロックに対応する各符号化パラメータ
を重畳して出力する複数の画像信号復号処理部であり、
前記各符号化パラメータは、各マクロブロック単位の符
号化情報であるマクロブロック符号化パラメータと、画
像単位の符号化情報の一部であるピクチャ符号化パラメ
ータとを含むものである複数の画像信号復号処理部と、
前記複数の画像信号復号処理部からそれぞれ供給された
前記復号画像信号を切り替えて出力する画像信号切替部
と、前記画像信号切替部から出力された前記復号画像信
号に対して、前記復号画像信号から分離した前記各符号
化パラメータに基づき高能率予測符号化を行う画像信号
符号化処理部とを有する画像信号復号・符号化装置にお
いて、前記各画像信号復号処理部に、その画像信号復号
処理部の識別信号を前記各符号化パラメータに付加し、
前記識別信号を付加した符号化パラメータを前記復号画
像信号に重畳する重畳手段を設け、前記画像信号符号化
処理部に、一画像単位に相当する前記復号画像信号から
分離した前記各符号化パラメータ内から、前記復号画像
信号への復号を行った画像信号復号装置の識別信号を検
出する検出手段と、前記検出された識別信号に対して同
一の識別信号毎に、その識別信号が検出された各符号化
パラメータ内から抽出したピクチャ符号化パラメータを
合わせることにより一画像単位の符号化情報が得られた
か否かを判断し、前記一画像単位の符号化情報が得られ
た場合、前記検出された識別信号が全て同一であるか否
かを判断し、前記検出された識別信号が同一でない場
合、前記一画像単位の符号化情報が得られた各符号化パ
ラメータから検出されている識別信号が一種類であるか
否かを判断して、その判断結果に基づいて、前記取得さ
れた一画像単位の符号化情報がそれぞれ符号化時に有効
であるか無効であるかを判断する第1の判断手段と、前
記検出された識別信号に基づき、前記分離した各符号化
パラメータにおける前記マクロブロック符号化パラメー
タがそれぞれ符号化時に有効であるか無効であるかを判
断する第2の判断手段とを設け、前記画像信号符号化処
理部は、有効と判断されたマクロブロック符号化パラメ
ータ及びピクチャ符号化パラメータに関してはそのマク
ロブロック符号化パラメータ及びピクチャ符号化パラメ
ータを符号化に用い、無効と判断されたマクロブロック
符号化パラメータ及びピクチャ符号化パラメータに関し
てはそのマクロブロック符号化パラメータ及びピクチャ
符号化パラメータに相当する情報を生成して符号化に用
いる、ことを特徴とする画像信号復号・符号化装置。
Accordingly, in order to solve the above-mentioned problems, the present invention provides the following apparatus. (1) Superimposing each encoding parameter corresponding to each macroblock at the time of encoding the encoded image signal on a decoded image signal obtained by decoding an encoded image signal which has been subjected to high efficiency prediction encoding. An image signal decoding device for outputting, wherein each of the coding parameters is a macroblock coding parameter that is coding information for each macroblock, and a picture coding parameter that is a part of coding information for each image. In the image signal decoding device that includes the image signal decoding device, an identification signal of the image signal decoding device is added to each of the encoding parameters, and a superimposing unit that superimposes the encoding parameter added with the identification signal on the decoded image signal is provided. Characteristic image signal decoding device. (2) Superimposing each encoding parameter corresponding to each macroblock at the time of encoding the encoded image signal on a decoded image signal obtained by decoding an encoded image signal which has been subjected to high efficiency prediction encoding. A plurality of image signal decoding processing units to output,
A plurality of image signal decoding processing units, each of which includes a macroblock coding parameter which is coding information for each macroblock and a picture coding parameter which is a part of coding information for each image; When,
An image signal switching unit that switches and outputs the decoded image signals respectively supplied from the plurality of image signal decoding processing units, and, for the decoded image signal output from the image signal switching unit, from the decoded image signal An image signal decoding / encoding device having an image signal encoding / processing unit for performing high-efficiency predictive encoding based on each of the separated encoding parameters, wherein each of the image signal decoding units includes Adding an identification signal to each of the encoding parameters,
Superimposing means for superimposing the encoding parameter to which the identification signal has been added on the decoded image signal is provided, and the image signal encoding processing unit includes an encoding unit for each of the encoding parameters separated from the decoded image signal corresponding to one image unit. From, detecting means for detecting the identification signal of the image signal decoding device that has performed decoding to the decoded image signal, for each identical identification signal with respect to the detected identification signal, each for which the identification signal was detected It is determined whether or not the encoding information of one image unit is obtained by combining the picture encoding parameters extracted from the encoding parameters, and if the encoding information of the one image unit is obtained, the detection is performed. It is determined whether or not the identification signals are all the same, and if the detected identification signals are not the same, the coding information of one image unit is detected from the obtained coding parameters. It is determined whether there is only one type of identification signal, and based on the determination result, it is determined whether the obtained encoded information of one image unit is valid or invalid at the time of encoding. First determining means for determining whether the macroblock coding parameter in each of the separated coding parameters is valid or invalid at the time of coding, based on the detected identification signal. Determining means, the image signal coding processing unit uses the macroblock coding parameters and the picture coding parameters for the macroblock coding parameters and the picture coding parameters determined to be valid for coding, For the macroblock coding parameters and picture coding parameters determined to be Generates information corresponding to the data and picture encoding parameter used for encoding, the image signal decoding and coding apparatus characterized by.

【0036】[0036]

【発明の実施の形態】本発明の一実施例を用いた切り替
え編集を可能とするトランスコーディング装置(概略構
成は図8と同様)を例として、その一実施例の各部を説
明する。図1に一実施例における画像信号復号装置の構
成図を示す。なお、従来例である図9に示すものと同様
の部分には同一の符号を付し、その部分の具体的な説明
は省略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Each part of an embodiment of the present invention will be described by taking as an example a transcoding device (schematic configuration is the same as that shown in FIG. 8) capable of switching and editing using the embodiment of the present invention. FIG. 1 shows a configuration diagram of an image signal decoding apparatus according to one embodiment. The same reference numerals are given to the same parts as those shown in FIG. 9 which is a conventional example, and the detailed description of those parts will be omitted.

【0037】可変長復号回路32は、従来例と同様に復
号した際のピクチャ符号化パラメータとマクロブロック
符号化パラメータ及び、マクロブロックの符号化ビット
数を算出し、符号化情報生成回路52に入力する。符号
化情報生成回路52においては、ピクチャ符号化パラメ
ータ及びマクロブロック符号化パラメータに加えて、復
号装置自身の識別を示す値(Decoder ID)が記録されて
いる復号装置識別信号メモリ51の情報を入力し、ビッ
トパターンにフォーマットし、符号化情報メモリ42に
蓄える。
The variable length decoding circuit 32 calculates a picture coding parameter, a macroblock coding parameter, and the number of coding bits of a macroblock at the time of decoding in the same manner as in the conventional example, and inputs it to the coding information generation circuit 52. I do. In the encoding information generation circuit 52, in addition to the picture encoding parameter and the macroblock encoding parameter, information of the decoding device identification signal memory 51 in which a value (Decoder ID) indicating the identification of the decoding device itself is recorded. Then, it is formatted into a bit pattern and stored in the encoded information memory 42.

【0038】符号化パラメータ(各マクロブロック単位
の符号化情報であるマクロブロック符号化パラメータ
と、フレーム符号化情報(画像単位の符号化情報)の一
部であるピクチャ符号化パラメータとを合わせてここで
は符号化パラメータと呼ぶ)の具体的なフォーマットの
例としては、前述したSMPTE 319M Figure 1に示すもの
を用いるが、そのフォーマットのマクロブロック符号化
パラメータ領域においてReserved Areaとなっている部
分の内の4ビット程度(例えば垂直方向0ビット目、水
平方向6〜9ビット目)を、Decoder ID追加用エリアと
して用いる。
The coding parameters (the macroblock coding parameters, which are coding information for each macroblock, and the picture coding parameters, which are part of the frame coding information (coding information for each image), are combined here. As an example of a specific format of the encoding parameter), the one shown in the above-described SMPTE 319M Figure 1 is used. About 4 bits (for example, the 0th bit in the vertical direction and the 6th to 9th bits in the horizontal direction) are used as a Decoder ID addition area.

【0039】Decoder IDは外部から設定が可能であり、
トランスコーディング時に複数の復号装置間で異なった
IDを設定することにより、識別可能な信号とすることが
できる。
The Decoder ID can be set from outside,
When transcoding, it differs between multiple decoding devices.
By setting the ID, an identifiable signal can be obtained.

【0040】符号化情報重畳回路43においては、従来
と同様に出力フレームメモリ39に蓄えられている画像
情報と符号化情報メモリ42に蓄えられている符号化情
報である符号化パラメータとを入力し、画像情報の色差
信号のLSBビットに符号化パラメータを重畳する。
The coding information superimposition circuit 43 receives the image information stored in the output frame memory 39 and the coding parameters, which are the coding information stored in the coding information memory 42, as in the prior art. The coding parameter is superimposed on the LSB bit of the color difference signal of the image information.

【0041】次に、一実施例における画像信号符号化装
置の構成図を図2に示し、これについて説明する。な
お、従来例である図10に示すものと同様の部分には同
一の符号を付し、その部分の具体的な説明は省略する。
Next, FIG. 2 shows a configuration diagram of an image signal encoding apparatus according to an embodiment, which will be described. The same reference numerals are given to the same parts as those shown in FIG. 10 which is a conventional example, and the detailed description of those parts will be omitted.

【0042】マクロブロック情報生成回路70は、従来
例で示した機能と共に、符号化パラメータ内のDecoder
IDを抜き出し、Decoder IDメモリ71に格納する。
The macroblock information generation circuit 70 has a function shown in the conventional example and a Decoder in the encoding parameter.
The ID is extracted and stored in the Decoder ID memory 71.

【0043】1フレーム分(一画像単位分)のマクロブ
ロック情報が蓄えられると、そのフレームが単一復号装
置からの出力で構成されているかどうかが認識できる。
フレーム情報判断回路73では、1フレーム分の各マク
ロブロックから検出したDecoder IDと、抜き取られたフ
レーム単位の符号化情報であるフレーム符号化情報(ピ
クチャ符号化パラメータを所定の個数合わせて一つのフ
レーム符号化情報となる)より、フレーム符号化情報の
有効無効を判断しフレーム情報を取得する。全てのマク
ロブロックにおいて符号化パラメータが抜き取り可能で
あって、かつDecoder IDメモリ71のマクロブロック毎
のDecoder ID値が全て同一であったら、単一復号装置の
出力だと判断する。また、1フレーム前のDecoder IDと
比較し、Decoder IDが異なる場合にフレーム単位での画
像信号の切替点と判断する。
When the macroblock information for one frame (one image unit) is stored, it can be recognized whether or not the frame is constituted by the output from the single decoding device.
In the frame information determination circuit 73, the Decoder ID detected from each macroblock of one frame and the frame coding information (the predetermined number of picture coding parameters, (It becomes encoded information), the validity / invalidity of the frame encoded information is determined and the frame information is acquired. If the encoding parameters can be extracted from all the macroblocks and the Decoder ID values for each macroblock in the Decoder ID memory 71 are all the same, it is determined that the output is a single decoding device. Also, it is compared with the Decoder ID of one frame before, and when the Decoder ID is different, it is determined that the switching point of the image signal is a frame unit.

【0044】具体的なフレーム情報取得のアルゴリズム
を図11に沿って説明する。まず、1フレーム分の各マ
クロブロックから検出した同一のDecoder ID毎に、その
Decoder IDが検出された各符号化パラメータ内から抽出
したピクチャ符号化パラメータを合わせることにより得
られるフレーム符号化情報を格納する(ステップS
1)。
A specific algorithm for acquiring frame information will be described with reference to FIG. First, for each identical Decoder ID detected from each macroblock for one frame,
Frame encoding information obtained by combining picture encoding parameters extracted from each encoding parameter for which the Decoder ID is detected is stored (step S).
1).

【0045】どのDecoder IDにおいてもフレーム符号化
情報が得られなかった場合には(ステップS2)、フレ
ームタイプは符号化装置内で予め管理されたフレームタ
イプを用いる(ステップS3)。フレーム符号化情報が
抽出できたDecoder IDが存在する場合には(ステップS
2)、全てのマクロブロックにおいて符号化パラメータ
が抜き取り可能であって、かつマクロブロック毎のDeco
der IDが全て同一である(これを条件1とする)かをチ
ェックする(ステップS4)。この条件1を満たす場合
には、抜き取られたフレーム符号化情報を使用候補とし
て選択する(ステップS5)。
If no frame encoding information is obtained for any of the Decoder IDs (step S2), the frame type used is a frame type managed in advance in the encoding device (step S3). If there is a Decoder ID from which the frame encoding information could be extracted (step S
2) Encoding parameters can be extracted from all macroblocks, and the Deco for each macroblock
It is checked whether all der IDs are the same (this is set as condition 1) (step S4). When the condition 1 is satisfied, the extracted frame coding information is selected as a use candidate (step S5).

【0046】条件1を満たさない場合には(ステップS
4)、フレーム符号化情報が抽出できたDecoder IDが複
数存在するかどうかをチェックし(ステップS6)、一
つの場合には抽出したフレーム符号化情報を使用候補と
して選択する(ステップS5)。複数の場合には、1フ
レーム前に検出されたDecoder IDと同一IDに対応するフ
レーム符号化情報を優先して使用候補として選択する
(ステップS7,ステップS5)。
If condition 1 is not satisfied (step S
4) It is checked whether there are a plurality of Decoder IDs from which the frame coding information can be extracted (step S6), and in the case of one, the extracted frame coding information is selected as a use candidate (step S5). In the case of a plurality of frames, the frame encoding information corresponding to the same ID as the Decoder ID detected one frame before is preferentially selected as a use candidate (step S7, step S5).

【0047】使用候補として選択されたフレーム符号化
情報は、1フレーム前に選択されたフレーム符号化情報
に対応するDecoder IDと同じDecoder IDに対応している
場合には(ステップS8)、その選択されたフレーム符
号化情報内のフレームタイプ及びそのフレーム符号化情
報内の他の付加情報をそのまま再符号化に用いる(ステ
ップS9)。
If the frame encoding information selected as a use candidate corresponds to the same Decoder ID as the Decoder ID corresponding to the frame encoding information selected one frame before (step S8), the selection is made. The frame type in the encoded frame encoding information and other additional information in the encoded frame information are used as they are for re-encoding (step S9).

【0048】同一IDでない場合(ステップS8)、もし
くは、ステップS7において1フレーム前に検出された
Decoder IDと同一IDに対応するフレーム符号化情報が存
在しない場合、選択されたフレーム符号化情報のフレー
ムタイプをチェックする(ステップS11)。ステップ
S7においてNoの場合、複数のフレーム符号化情報か
らの選択は単純に最初に取得できたDecoder IDに対応
したフレーム符号化情報(即ち、最初に取得できたDeco
der IDと同じDecoder IDが検出された各符号化パラメ
ータから得られたフレーム符号化情報)でかまわない
(ステップS10)。
If the IDs are not the same (step S8), or if it is detected one frame earlier in step S7
If there is no frame encoding information corresponding to the same ID as the Decoder ID, the frame type of the selected frame encoding information is checked (step S11). In the case of No in step S7, selection from the plurality of pieces of frame encoding information is simply performed by selecting the first frame encoding information corresponding to the Decoder ID (that is, the first acquiring Deco ID).
The frame encoding information obtained from each encoding parameter in which the same Decoder ID as the der ID is detected may be used (step S10).

【0049】ステップS11においてフレームタイプが
Iフレームの場合には、フレーム内で完結した符号化を
行うため、独立したDecoder IDを持つフレームであっ
ても付加情報が有用となる。よって、ステップS10で
選択されたフレーム符号化情報内のフレームタイプ及び
そのフレーム符号化情報内の他の付加情報をそのまま再
符号化に用いる。
In step S11, the frame type is
In the case of an I-frame, complete encoding is performed within the frame, so that additional information is useful even for a frame having an independent Decoder ID. Therefore, the frame type in the frame coded information selected in step S10 and other additional information in the frame coded information are directly used for re-encoding.

【0050】フレームタイプがPフレームの場合には
(ステップS12)、入力が切り替わったと判断し(ス
テップS7において前のフレームとDecocer IDが異なる
と判断されているので)、フレームタイプをIフレーム
に変更し、選択したフレーム符号化情報内の付加情報は
使用できないものとして破棄する(ステップS13)。
If the frame type is a P frame (step S12), it is determined that the input has been switched (because it is determined in step S7 that the previous frame has a different Decorcer ID), and the frame type is changed to an I frame. Then, the additional information in the selected frame encoding information is discarded as being unusable (step S13).

【0051】Bフレームの場合には、Bフレームが連続す
るフレーム数を制限するために、1フレーム前がIフレ
ームもしくはPフレームの時のみ(ステップS14)、
フレームタイプをそのままBフレームとする(ステップ
S15)。それ以外の場合はフレームタイプをIフレー
ムとし、いずれの場合にも選択したフレーム符号化情報
内付加情報は破棄する(ステップS13)。
In the case of a B frame, in order to limit the number of consecutive B frames, only when the previous frame is an I frame or a P frame (step S14),
The frame type is set to the B frame as it is (step S15). Otherwise, the frame type is set to I-frame, and in any case, the selected additional information in the frame coded information is discarded (step S13).

【0052】次に、符号化シンタックス制御回路24で
は、選択されたフレームタイプより入力画像を符号化順
に並べ替える制御を行うと共に、フレーム情報判断回路
73で有効と判断されたフレーム符号化情報に対して
は、その値を用いてフレーム単位の制御を行う。また、
Decoder IDメモリ71には、参照画像メモリ11と同様
に、基準フレームとなる画像のDecoder IDが格納されて
コントロールされる。
Next, the encoding syntax control circuit 24 controls the input images to be rearranged in the order of encoding based on the selected frame type, and converts the input image into frame encoding information determined to be valid by the frame information determination circuit 73. On the other hand, control is performed on a frame basis using the value. Also,
Like the reference image memory 11, the Decoder ID memory 71 stores and controls the Decoder ID of an image serving as a reference frame.

【0053】有為無為検出回路72は、Decoder IDメモ
リ71からDecoder IDが供給されると共に符号化情報メ
モリ22からマクロブロック符号化パラメータが供給さ
れて、入力画像信号から分離されたマクロブロック符号
化パラメータの使用が可能か否かを判断する。有為無為
検出回路72では、符号化対象マクロブロックから検出
されたDecoder IDを読み取ると共に、符号化対象マクロ
ブロックにおけるマクロブロック符号化パラメータ内の
予測モードがIntraブロックでない場合には、そのマク
ロブロック符号化パラメータから動きベクトル値を読み
取り、予測された参照画像データが存在するマクロブロ
ックのDecoder IDのアドレス値を計算する。
The significance detection circuit 72 receives the Decoder ID from the Decoder ID memory 71 and the macroblock coding parameters from the coded information memory 22, and performs macroblock coding separated from the input image signal. Determine whether the parameter can be used. The probabilistic success detection circuit 72 reads the Decoder ID detected from the encoding target macroblock, and if the prediction mode in the macroblock encoding parameter of the encoding target macroblock is not an Intra block, the macroblock code The motion vector value is read from the conversion parameter, and the address value of the Decoder ID of the macroblock in which the predicted reference image data exists is calculated.

【0054】動きベクトル値が水平方向X画素、垂直方
向Y画素、マクロブロックの先頭位置のポイントが水平
方向H、垂直方向Vの場合、必要となるDecoder IDが存
在するアドレス値は4種類存在し、マクロブロック位置
が、 (1)水平(H+X)/16、垂直(V+Y)/16 (2)水平(H+X+15)/16、垂直(V+Y)/16 (3)水平(H+X)/16、垂直(V+Y+15)/16 (4)水平(H+X+15)/16、垂直(V+Y+15)/
16 となる。これらのアドレス値から読み込んだDecoder ID
及び自マクロブロックのDecoder IDが全て一致している
場合、マクロブロック符号化パラメータは有為であると
する。ただし、マクロブロック符号化パラメータの予測
モードが前方向予測の場合には、前方向の参照画像のDe
coder IDのみ、後方向予測の場合には、後方向の参照画
像のDecoder IDのみを参照して判断すればよい。
When the motion vector value is X pixels in the horizontal direction, Y pixels in the vertical direction, and the point at the head position of the macroblock is H in the horizontal direction and V in the vertical direction, there are four types of address values in which the necessary Decoder ID exists. The macro block position is (1) horizontal (H + X) / 16, vertical (V + Y) / 16, (2) horizontal (H + X + 15) / 16, vertical (V + Y) / 16, (3) horizontal (H + X) / 16, Vertical (V + Y + 15) / 16 (4) Horizontal (H + X + 15) / 16, vertical (V + Y + 15) /
It becomes 16. Decoder ID read from these address values
If the Decoder IDs of the own macroblock match, the macroblock coding parameter is determined to be significant. However, when the prediction mode of the macroblock coding parameter is forward prediction, the forward reference picture De
In the case of backward prediction, only the coder ID may be determined by referring to only the Decoder ID of the backward reference image.

【0055】また、符号化シンタックス制御回路24か
らは、フレーム毎に認識されたDecoder IDがフレーム
タイプと共に有為無為検出回路72に入力される。入力
されたDecoder IDと自マクロブロックのDecoder IDとが
異なる場合には、マクロブロック符号化パラメータは無
為であるとする。
Further, from the encoding syntax control circuit 24, the Decoder ID recognized for each frame is input to the significance / invalidity detection circuit 72 together with the frame type. If the input Decoder ID is different from the Decoder ID of the own macroblock, it is assumed that the macroblock coding parameter is invalid.

【0056】有為無為検出回路72の出力信号と、フレ
ーム情報判断回路73で取得したフレーム情報と、符号
化情報分離回路21によるマクロブロック毎の符号化情
報の非検出信号を参照し、マクロブロック毎の符号化処
理を行う。即ち、有為無為検出回路72が有為と判断し
た場合には、符号化対象マクロブロックに対応する前記
の分離したマクロブロック符号化パラメータ及びフレー
ム情報判断回路73で取得したフレーム情報に基づき符
号化対象マクロブロックの符号化を行う。有為無為検出
回路72が無為と判断した場合、及び符号化情報分離回
路21から非検出信号が出力された場合には、新たにマ
クロブロック符号化パラメータに該当する情報を生成
し、その情報とフレーム情報判断回路73で取得したフ
レーム情報とに基づき前記符号化対象マクロブロックの
符号化を行う。
Referring to the output signal of the significance detection circuit 72, the frame information obtained by the frame information determination circuit 73, and the non-detection signal of the coded information for each macro block by the coded information separation circuit 21, the macro block The encoding process is performed for each. In other words, when the significance detection circuit 72 determines that it is significant, the coding is performed based on the separated macroblock coding parameters corresponding to the coding target macroblock and the frame information acquired by the frame information determination circuit 73. Encode the target macroblock. When the probable and incompletion detecting circuit 72 determines that the information is ineffective, and when a non-detection signal is output from the coded information separating circuit 21, information corresponding to a macroblock coding parameter is newly generated, and the information and The encoding target macroblock is encoded based on the frame information acquired by the frame information determining circuit 73.

【0057】以上説明したように、本実施例の装置によ
れば、符号化された複数の画像信号を一旦復号して、そ
の復号した複数の画像信号を切り替えることにより編集
を行った後に再度符号化処理を行う場合に、復号装置で
出力する画像信号上に、復号前の符号化時の符号化パラ
メータを保持すると共に、各復号装置を識別できる識別
信号をマクロブロック毎に符号化パラメータに付加し書
き込むようにした。従って、再符号化時に識別信号を検
出することにより、フレーム単位での復号画像信号の切
り替え(フレーム単位での復号装置の切り替え)が判断
できると共に、フレーム内での復号装置の切り替えも認
識することができる。
As described above, according to the apparatus of this embodiment, a plurality of coded image signals are decoded once, the decoded plurality of image signals are switched to perform editing, and then the coded image signals are re-edited. When performing the decoding process, the encoding parameters at the time of encoding before decoding are retained on the image signal output by the decoding device, and an identification signal that can identify each decoding device is added to the encoding parameter for each macroblock. And write it. Therefore, by detecting the identification signal at the time of re-encoding, switching of the decoded image signal in frame units (switching of the decoding device in frame units) can be determined, and switching of the decoding device in the frame can be recognized. Can be.

【0058】識別信号が連続している状態では、フレー
ム情報(復号画像信号から分離抽出したフレーム符号化
情報から得られる情報)は完全に保持されたままである
ので、そのフレーム情報を用いて再符号化処理を行える
ため、再符号化時のIフレームの位置を以前に符号化さ
れていたストリームのIフレームの位置を合わせること
ができ、再符号化時の画像劣化を低減できる。さらに、
検出された識別信号の組み合わせに基づき再符号化処理
を制御することで、切り替え点で符号化シンタックスの
不具合や符号量制御の乱れを引き起こすような変化が生
じることを防止できる。
In the state where the identification signal is continuous, the frame information (information obtained from the frame coded information separated and extracted from the decoded image signal) is completely retained. Since the encoding process can be performed, the position of the I-frame at the time of re-encoding can be matched with the position of the I-frame of the stream that has been encoded before, and image degradation at the time of re-encoding can be reduced. further,
By controlling the re-encoding process based on the detected combination of the identification signals, it is possible to prevent a change that may cause a problem in the encoding syntax or a disturbance in the code amount control at the switching point.

【0059】また、検出された識別信号を用いることに
より、符号化対象マクロブロックのマクロブロック符号
化パラメータが再符号化時のコントロールと整合が取れ
ているかを管理し、予測処理を行う際の参照画像の予測
ブロック内に整合の取れていない領域が存在するか否か
を容易に認識することができ、誤った符号化パラメータ
を使って再符号化処理を行うことを防止できる。これに
より、再符号化に有効な符号化パラメータを適切に使用
できるようになり、良好なトランスコーディング機能が
実現できる。
Also, by using the detected identification signal, it is managed whether or not the macroblock coding parameter of the macroblock to be coded is in agreement with the control at the time of re-encoding. It is possible to easily recognize whether or not an unmatched area exists in the prediction block of the image, and it is possible to prevent re-encoding processing using an incorrect encoding parameter. As a result, it becomes possible to appropriately use coding parameters effective for re-encoding, thereby realizing a good transcoding function.

【0060】[0060]

【発明の効果】以上の通り、本発明の画像信号復号装置
を用いれば、この画像信号復号装置によって復号した複
数の復号画像信号(復号前の各符号化パラメータが重畳
されている復号画像信号)を切り替えることによって編
集した復号画像信号を再度符号化する場合に、良好な再
符号化が可能となる。
As described above, when the image signal decoding apparatus of the present invention is used, a plurality of decoded image signals decoded by the image signal decoding apparatus (decoded image signals on which respective encoding parameters before decoding are superimposed). In the case where the edited decoded image signal is re-encoded by switching over, good re-encoding can be performed.

【0061】また、本発明の画像信号復号・符号化装置
によれば、復号した複数の復号画像信号(復号前の各符
号化パラメータが重畳されている復号画像信号)を切り
替えることによって編集した復号画像信号を再度符号化
する場合に、良好な再符号化を行うことができる。
Further, according to the image signal decoding / encoding apparatus of the present invention, the decoding edited by switching a plurality of decoded image signals (decoded image signals on which respective encoding parameters before decoding are superimposed). When re-encoding an image signal, good re-encoding can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】一実施例における画像信号復号装置の構成図で
ある。
FIG. 1 is a configuration diagram of an image signal decoding device according to an embodiment.

【図2】一実施例における画像信号符号化装置の構成図
である。
FIG. 2 is a configuration diagram of an image signal encoding device according to an embodiment.

【図3】MPEG2画像符号化で用いられる符号化体系を示
す図である。
FIG. 3 is a diagram illustrating an encoding system used in MPEG2 image encoding.

【図4】MPEG2符号化時の符号化順並べ替えのタイミン
グを示す図である。
FIG. 4 is a diagram showing the timing of rearranging the encoding order during MPEG2 encoding.

【図5】復号時のストリーム到達順と復号画像の出力順
の関係を示す図である。
FIG. 5 is a diagram illustrating a relationship between a stream arrival order at the time of decoding and an output order of a decoded image.

【図6】MPEG2画像符号化装置の構成図である。FIG. 6 is a configuration diagram of an MPEG2 image encoding device.

【図7】MPEG2画像復号装置の構成図である。FIG. 7 is a configuration diagram of an MPEG2 image decoding device.

【図8】切り替え編集理を可能とするトランスコーディ
ング装置の構成図である。
FIG. 8 is a configuration diagram of a transcoding device that enables switching editing.

【図9】トランスコーディング機能を有する従来のMPEG
2画像復号装置の構成図である。
FIG. 9 shows a conventional MPEG having a transcoding function.
FIG. 35 is a configuration diagram of a two-image decoding device.

【図10】トランスコーディング機能を有する従来のMP
EG2画像符号化装置の構成図である。
FIG. 10 shows a conventional MP having a transcoding function.
FIG. 2 is a configuration diagram of an EG2 image encoding device.

【図11】一実施例におけるフレーム情報取得アルゴリ
ズムを示す図である。
FIG. 11 is a diagram showing a frame information acquisition algorithm in one embodiment.

【符号の説明】[Explanation of symbols]

21 符号化情報分離回路 22 符号化情報メモリ 24 符号化シンタックス制御回路 51 復号装置識別信号メモリ 52 符号化情報生成回路 70 マクロブロック情報生成回路 71 Decoder IDメモリ 72 有為無為検出回路 73 フレーム情報判断回路 DESCRIPTION OF SYMBOLS 21 Encoding information separation circuit 22 Encoding information memory 24 Encoding syntax control circuit 51 Decoding device identification signal memory 52 Encoding information generation circuit 70 Macroblock information generation circuit 71 Decoder ID memory 72 Significant ineffectiveness detection circuit 73 Frame information judgment circuit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK01 KK36 MA00 MA05 MA23 ME01 NN01 PP05 PP06 PP07 RB12 RC00 RC11 SS01 SS06 TA71 TC00 TC01 TD11 UA05 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK01 KK36 MA00 MA05 MA23 ME01 NN01 PP05 PP06 PP07 RB12 RC00 RC11 SS01 SS06 TA71 TC00 TC01 TD11 UA05

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】高能率予測符号化されている符号化画像信
号を復号して得た復号画像信号に、前記符号化画像信号
の符号化時の各マクロブロックに対応する各符号化パラ
メータを重畳して出力する画像信号復号装置であり、前
記各符号化パラメータは、各マクロブロック単位の符号
化情報であるマクロブロック符号化パラメータと、画像
単位の符号化情報の一部であるピクチャ符号化パラメー
タとを含むものである画像信号復号装置において、 その画像信号復号装置の識別信号を前記各符号化パラメ
ータに付加し、前記識別信号を付加した符号化パラメー
タを前記復号画像信号に重畳する重畳手段を設けたこと
を特徴とする画像信号復号装置。
An encoded image signal obtained by decoding an encoded image signal which has been subjected to high-efficiency predictive encoding is superimposed with encoding parameters corresponding to macroblocks at the time of encoding the encoded image signal. An image signal decoding device that outputs the macroblock encoding parameters, wherein each of the encoding parameters is a macroblock encoding parameter that is encoding information for each macroblock, and a picture encoding parameter that is part of encoding information for each image. Wherein the image signal decoding apparatus further comprises: superimposing means for adding an identification signal of the image signal decoding apparatus to each of the encoding parameters, and superimposing the encoding parameter to which the identification signal is added on the decoded image signal. An image signal decoding device characterized by the above-mentioned.
【請求項2】高能率予測符号化されている符号化画像信
号を復号して得た復号画像信号に、前記符号化画像信号
の符号化時の各マクロブロックに対応する各符号化パラ
メータを重畳して出力する複数の画像信号復号処理部で
あり、前記各符号化パラメータは、各マクロブロック単
位の符号化情報であるマクロブロック符号化パラメータ
と、画像単位の符号化情報の一部であるピクチャ符号化
パラメータとを含むものである複数の画像信号復号処理
部と、 前記複数の画像信号復号処理部からそれぞれ供給された
前記復号画像信号を切り替えて出力する画像信号切替部
と、 前記画像信号切替部から出力された前記復号画像信号に
対して、前記復号画像信号から分離した前記各符号化パ
ラメータに基づき高能率予測符号化を行う画像信号符号
化処理部とを有する画像信号復号・符号化装置におい
て、 前記各画像信号復号処理部に、 その画像信号復号処理部の識別信号を前記各符号化パラ
メータに付加し、前記識別信号を付加した符号化パラメ
ータを前記復号画像信号に重畳する重畳手段を設け、 前記画像信号符号化処理部に、 一画像単位に相当する前記復号画像信号から分離した前
記各符号化パラメータ内から、前記復号画像信号への復
号を行った画像信号復号装置の識別信号を検出する検出
手段と、 前記検出された識別信号に対して同一の識別信号毎に、
その識別信号が検出された各符号化パラメータ内から抽
出したピクチャ符号化パラメータを合わせることにより
一画像単位の符号化情報が得られたか否かを判断し、前
記一画像単位の符号化情報が得られた場合、前記検出さ
れた識別信号が全て同一であるか否かを判断し、前記検
出された識別信号が同一でない場合、前記一画像単位の
符号化情報が得られた各符号化パラメータから検出され
ている識別信号が一種類であるか否かを判断して、その
判断結果に基づいて、前記取得された一画像単位の符号
化情報がそれぞれ符号化時に有効であるか無効であるか
を判断する第1の判断手段と、 前記検出された識別信号に基づき、前記分離した各符号
化パラメータにおける前記マクロブロック符号化パラメ
ータがそれぞれ符号化時に有効であるか無効であるかを
判断する第2の判断手段とを設け、 前記画像信号符号化処理部は、有効と判断されたマクロ
ブロック符号化パラメータ及びピクチャ符号化パラメー
タに関してはそのマクロブロック符号化パラメータ及び
ピクチャ符号化パラメータを符号化に用い、無効と判断
されたマクロブロック符号化パラメータ及びピクチャ符
号化パラメータに関してはそのマクロブロック符号化パ
ラメータ及びピクチャ符号化パラメータに相当する情報
を生成して符号化に用いる、ことを特徴とする画像信号
復号・符号化装置。
2. A decoding method for decoding a coded image signal which has been subjected to high-efficiency predictive coding, superimposing respective coding parameters corresponding to respective macroblocks at the time of coding the coded image signal. A plurality of image signal decoding processing units, wherein each of the coding parameters is a macroblock coding parameter that is coding information for each macroblock, and a picture that is a part of coding information for each image. A plurality of image signal decoding processing units that include an encoding parameter, an image signal switching unit that switches and outputs the decoded image signals respectively supplied from the plurality of image signal decoding processing units, An image signal encoding process for performing high-efficiency predictive encoding on the output decoded image signal based on the respective encoding parameters separated from the decoded image signal An image signal decoding / encoding device having: a coding parameter obtained by adding an identification signal of the image signal decoding processing unit to each of the coding parameters to each of the image signal decoding processing units; Superimposing means for superimposing on the decoded image signal, the image signal encoding processing section decodes the decoded image signal from the respective encoding parameters separated from the decoded image signal corresponding to one image unit. Detecting means for detecting the identification signal of the image signal decoding device that has performed, for each identification signal identical to the detected identification signal,
It is determined whether or not the coding information of one image unit is obtained by combining the picture coding parameters extracted from the respective coding parameters for which the identification signal is detected, and the coding information of one image unit is obtained. If it is determined whether the detected identification signals are all the same or not, if the detected identification signals are not the same, from each encoding parameter obtained the encoding information of one image unit It is determined whether the detected identification signal is of one type or not, and based on the determination result, whether the obtained encoded information of one image unit is valid or invalid at the time of encoding, respectively. First determining means for determining whether the macroblock coding parameter in each of the separated coding parameters is valid at the time of coding based on the detected identification signal. And a second judging means for judging whether or not the macroblock coding parameter and the picture coding parameter determined to be valid are the macroblock coding parameter and the picture coding parameter. Using the encoding parameters for encoding, regarding the macroblock encoding parameters and picture encoding parameters determined to be invalid, information corresponding to the macroblock encoding parameters and picture encoding parameters is generated and used for encoding. An image signal decoding / encoding device characterized by the above-mentioned.
JP2000362690A 2000-11-29 2000-11-29 Image signal decoding / encoding device Expired - Lifetime JP4228537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000362690A JP4228537B2 (en) 2000-11-29 2000-11-29 Image signal decoding / encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000362690A JP4228537B2 (en) 2000-11-29 2000-11-29 Image signal decoding / encoding device

Publications (2)

Publication Number Publication Date
JP2002165219A true JP2002165219A (en) 2002-06-07
JP4228537B2 JP4228537B2 (en) 2009-02-25

Family

ID=18833922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000362690A Expired - Lifetime JP4228537B2 (en) 2000-11-29 2000-11-29 Image signal decoding / encoding device

Country Status (1)

Country Link
JP (1) JP4228537B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180776A (en) * 2005-12-27 2007-07-12 Nec Corp Coded-data selection and setting, re-coded data generation, and method and device for re-coding

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180776A (en) * 2005-12-27 2007-07-12 Nec Corp Coded-data selection and setting, re-coded data generation, and method and device for re-coding
JP4666255B2 (en) * 2005-12-27 2011-04-06 日本電気株式会社 Encoded data selection, encoded data setting, re-encoded data generation and re-encoding method and apparatus

Also Published As

Publication number Publication date
JP4228537B2 (en) 2009-02-25

Similar Documents

Publication Publication Date Title
US7532808B2 (en) Method for coding motion in a video sequence
US7263125B2 (en) Method and device for indicating quantizer parameters in a video coding system
JP4666695B2 (en) Video signal compression processing method
US6795498B1 (en) Decoding apparatus, decoding method, encoding apparatus, encoding method, image processing system, and image processing method
JP4133346B2 (en) Intra coding of video data blocks by selection of prediction type
JP3980659B2 (en) Video encoding method and apparatus, video decoding method and apparatus.
JP3599942B2 (en) Moving picture coding method and moving picture coding apparatus
US6556714B2 (en) Signal processing apparatus and method
JPH07231449A (en) Encoder and decoder for picture signal
JP4193162B2 (en) Image signal encoding device
JP4228537B2 (en) Image signal decoding / encoding device
JPH09214977A (en) Method and device for encoding video
JP2002171530A (en) Re-encoder provided with superimpose function and its method
JP2002142225A (en) Image signal-coding device
JP2002016924A (en) Transcoding device and transcoding method
JP2005197879A (en) Video signal coding apparatus
JP2002142224A (en) Image signal-processing device
JPH09238345A (en) Image signal coding method and device therefor, image signal transmission method, image signal decoding method, device therefor and recording medium
JP4596277B2 (en) Encoding device, encoding method, decoding device, and decoding method
JP4390009B2 (en) Encoding apparatus and method, and image processing system
JP2009296208A (en) Dynamic image-reproducing device and dynamic image transmission system
JPH0884334A (en) Decoding method for image signal and its device
JP2000295567A (en) Coded data editor
JP2000175200A (en) Highly efficient encodng device/decoding device
JPH07170522A (en) Changeover device for animation image compression data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081021

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081111

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081124

R151 Written notification of patent or utility model registration

Ref document number: 4228537

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131212

Year of fee payment: 5

EXPY Cancellation because of completion of term