JP2002218469A - Moving image encoding device, moving image transmitting device and moving image transmitting and recording device - Google Patents

Moving image encoding device, moving image transmitting device and moving image transmitting and recording device

Info

Publication number
JP2002218469A
JP2002218469A JP2001011864A JP2001011864A JP2002218469A JP 2002218469 A JP2002218469 A JP 2002218469A JP 2001011864 A JP2001011864 A JP 2001011864A JP 2001011864 A JP2001011864 A JP 2001011864A JP 2002218469 A JP2002218469 A JP 2002218469A
Authority
JP
Japan
Prior art keywords
macroblock
motion compensation
synchronous
image
unit
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
JP2001011864A
Other languages
Japanese (ja)
Inventor
Hiroyuki Ueyasu
博之 上保
Seiji Kishimoto
誠司 岸本
Tokitaka Sekine
晨貴 関根
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 JP2001011864A priority Critical patent/JP2002218469A/en
Publication of JP2002218469A publication Critical patent/JP2002218469A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a moving image encoding device, a moving image transmitting device and a moving image transmitting and recording device which are suitable to perform simply error detection without depending upon an error correction code. SOLUTION: This moving image encoding device is provided with a macroblock counting part 130 for counting the number of encoded macroblocks and outputting a synchronous macroblock insertion instruction, a synchronous pattern preparation instructing part 132 for turning on a forced motion compensation predictive signal when the synchronous macroblock insertion instruction is inputted, and a motion compensating part 120 for deciding motion compensation to be effective with a forced motion compensation predictive macroblock, and inserts a fixed bit pattern for synchronization confirmation into each macroblock in a fixed interval.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動画像を符号化す
る動画像符号化装置、これを具備した動画像伝送装置及
び動画像伝送記録装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding apparatus for coding a moving picture, a moving picture transmitting apparatus including the same, and a moving picture transmission recording apparatus.

【0002】[0002]

【従来の技術】従来、この種の動画像伝送装置は、CRC
符号化器を有する動画像符号化装置と、伝送装置と、CR
C復号器を有する動画像復号化装置とを備え、伝送路品
質が劣る場合には、送信側で誤り訂正符号を付加し、受
信側で誤ったビット列の検出、訂正を行うことによって
画質劣化を防止していた(特開平6−98313号公
報)。
2. Description of the Related Art Conventionally, this kind of moving picture transmission apparatus has been known as a CRC.
A video encoding device having an encoder, a transmission device, and a CR
If the transmission path quality is inferior, an error correction code is added on the transmission side, and an erroneous bit string is detected and corrected on the reception side, thereby deteriorating the image quality. (JP-A-6-98313).

【0003】なお、ITU-T勧告H.220 付属文章B(動画
像、音声の汎用符号化方式に関するもの)には、前述の
誤り検出方法が記載されており、送信側のCRC符号化器
で、復号化結果が0となるようなCRC符号を算出し、定
められたビット位置に付加して伝送する一方で、受信側
では、CRC復号結果が0であるか否かにより誤りの有無
を判定するのが基本的な考え方である。
[0003] Annex B of ITU-T recommendation H.220 (related to general-purpose video and audio coding methods) describes the above-described error detection method. , While calculating a CRC code such that the decoding result becomes 0, and adding the CRC code to a predetermined bit position for transmission, the receiving side determines whether there is an error based on whether the CRC decoding result is 0 or not. The basic idea is to do.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような従
来の動画像伝送装置では、誤り訂正符号用の符号化装
置、及び復号化装置を追加する必要があるため、装置構
成が複雑となり、コストアップにつながるという問題が
あった。
However, in such a conventional moving picture transmission apparatus, it is necessary to add an encoding apparatus and a decoding apparatus for an error correction code. There was a problem that led to up.

【0005】また、誤り検出能力に上限が存在し、仮に
伝送路品質が低下によるビット誤り率の上昇を予測し得
ても誤り訂正符号はITU-T勧告に定められたビット位置
にしか挿入できず、誤り検出能力を向上させることはで
きないという問題があった。
[0005] Further, there is an upper limit in the error detection capability, and even if it is possible to predict an increase in the bit error rate due to a decrease in the transmission path quality, the error correction code can be inserted only into the bit positions specified in the ITU-T recommendation. However, there is a problem that the error detection capability cannot be improved.

【0006】さらに、誤り検出能力以上のビット誤りが
発生した場合は、誤りの発生を認識できず、誤ったビッ
ト列を正しい入力として復号し続けるので、可変長符号
で誤った符号の復号を続けると、誤りが発生した部分の
みでなく、誤りが発生していない正しい可変長符号に対
しても異なる復号化を施すこととなり、画質劣化が連続
的に広範囲に広がる場合が多いという問題があった。
Further, when a bit error exceeding the error detection capability occurs, the occurrence of the error cannot be recognized and the erroneous bit sequence is continuously decoded as a correct input. However, different decoding is performed not only on the portion where an error has occurred but also on a correct variable-length code where no error has occurred, and there has been a problem that image quality degradation often spreads continuously over a wide range.

【0007】本発明は、このような問題を解決するため
になされたもので、誤り検出を簡潔に行なうのに好適な
動画像符号化装置、動画像伝送装置、及び動画像伝送記
録装置を提供するものである。
The present invention has been made in order to solve such a problem, and provides a moving picture encoding apparatus, a moving picture transmission apparatus, and a moving picture transmission recording apparatus suitable for simply performing error detection. Is what you do.

【0008】[0008]

【課題を解決するための手段】本発明の動画像伝送装置
は、符号化マクロブロック数をカウントし、一定数のマ
クロブロック毎に同期マクロブロックの挿入を指示する
マクロブロックカウント手段と、前記同期マクロブロッ
クで、多種類の選択が可能なマクロブロック付随情報中
の一項目を固定値に符号化するよう、指示を出力する同
期パターン作成指示手段と、この同期パターン作成指示
手段の指示に従って固定値を符号化する符号化手段と、
前記同期マクロブロックか否かを判定する同期マクロブ
ロック判定手段と、前記同期マクロブロックで、マクロ
ブロック付随情報の固定値が符号化時の値と同一か否か
を判定してビットエラーを検出する同期パターンチェッ
ク手段と、ビットエラー検出時には、入力マクロブロッ
クと同一位置の参照画像を再生画像とする画像再生手段
とを設けた構成を有している。この構成により、一定マ
クロブロック間隔で固定付随情報が符号化されるので、
伝送路でビット誤りが発生し、誤り位置から可変長符号
の誤った復号を開始した場合においても、同期マクロブ
ロックで、固定位置以外のビット列が受信されることに
よりビット誤り発生を検出して、入力マクロブロックと
同一位置の参照画像を再生画像とすることにより、誤っ
たデコードによる映像の乱れを局在化することとなる。
A moving picture transmission apparatus according to the present invention counts the number of coded macroblocks, and instructs insertion of a synchronous macroblock for each fixed number of macroblocks, and the synchronous block. A synchronous pattern creation instructing means for outputting an instruction to encode one item in the macroblock accompanying information from which various types of macroblocks can be selected into a fixed value, and a fixed value according to the instruction of the synchronization pattern creation instructing means. Encoding means for encoding
A synchronous macroblock determining means for determining whether or not the synchronous macroblock is used, and a bit error is detected by determining whether or not the fixed value of the macroblock accompanying information is the same as the value at the time of encoding in the synchronous macroblock. It has a configuration in which a synchronization pattern checking unit and an image reproducing unit that sets a reference image at the same position as an input macroblock as a reproduced image when a bit error is detected are provided. With this configuration, since the fixed accompanying information is encoded at a constant macroblock interval,
Even if a bit error occurs in the transmission path and erroneous decoding of the variable-length code is started from the error position, the synchronization macro block detects a bit error occurrence by receiving a bit string other than the fixed position, By using the reference image at the same position as the input macroblock as the reproduced image, the disturbance of the image due to erroneous decoding is localized.

【0009】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、参照
画像を動き補償して予測画像とするための強制動き補償
予測信号をオンとする同期パターン作成指示手段と、前
記参照画像を動き補償して予測画像とする対象の強制的
動き補償予測マクロブロックで、動き補償を有効と判定
する動き補償手段とを設けた構成を有している。この構
成により、一定マクロブロック間隔で動き補償予測を有
効としたビット列を出力することによって、伝送路でビ
ット誤りが発生し、誤り位置から可変長符号の誤った復
号を開始した場合においても、強制動き補償予測マクロ
ブロックで、動き補償予測OFFが受信されビット誤りを
検出することができ、可変長符号の誤ったデコードによ
る映像の乱れを局在化することとなる。
Further, the video encoding apparatus of the present invention comprises: a macroblock counting means for counting the number of encoded macroblocks and outputting an instruction to insert a synchronous macroblock;
Synchronization pattern creation instructing means for turning on a compulsory motion compensation prediction signal for motion-compensating a reference image to become a prediction image when the synchronization macroblock insertion instruction is input, and a prediction image for motion-compensating the reference image. And a motion compensation unit that determines that motion compensation is effective in the compulsory motion compensation prediction macro block to be set. With this configuration, by outputting a bit sequence in which motion compensation prediction is enabled at a constant macroblock interval, a bit error occurs in the transmission path, and even when erroneous decoding of a variable length code is started from an error position, forced In the motion compensation prediction macro block, the motion compensation prediction OFF is received, and a bit error can be detected, thereby localizing a video disturbance due to an erroneous decoding of the variable length code.

【0010】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、参照
画像を動き補償して予測画像とするための強制動き補償
予測信号をオンとする同期パターン作成指示手段と、前
記参照画像を動き補償して予測画像とする対象の強制動
き補償予測マクロブロックで、動き補償を有効と判定
し、かつ複数種類存在する動き補償モード中、予め定め
た特定モードを選択する動き補償手段とを設けた構成を
有している。この構成により、一定マクロブロック間隔
で特定モードの動き補償予測が選択されたビット列を出
力することによって、伝送路でビット誤りが発生し、誤
り位置から可変長符号の誤った復号を開始した場合にお
いても、強制動き補償予測マクロブロックで、特定予測
モード以外のビット列が受信されることにより、ビット
誤りを検出することができ、可変長符号の誤ったデコー
ドによる映像の乱れを局在化することとなる。
Further, the moving picture coding apparatus according to the present invention comprises: a macroblock counting means for counting the number of coding macroblocks and outputting an instruction to insert a synchronous macroblock;
Synchronization pattern creation instructing means for turning on a compulsory motion compensation prediction signal for motion-compensating a reference image to become a prediction image when the synchronization macroblock insertion instruction is input, and a prediction image for motion-compensating the reference image. A motion compensating unit that determines that motion compensation is valid, and selects a predetermined specific mode among a plurality of types of motion compensation modes. I have. With this configuration, by outputting a bit sequence in which motion compensation prediction of a specific mode is selected at a constant macroblock interval, a bit error occurs in the transmission path, and when error decoding of a variable length code is started from an error position, Also, by receiving a bit sequence other than the specific prediction mode in the forced motion compensation prediction macroblock, it is possible to detect a bit error, and to localize video disturbance due to erroneous decoding of a variable length code. Become.

【0011】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、参照
画像を動き補償して予測画像とするための強制動き補償
予測信号とオンとする同期パターン作成指示手段と、前
記参照画像を動き補償して予測画像とする対象の強制動
き補償予測マクロブロックで、動き補償を有効と判定
し、かつ動き量を零とする動き補償手段とを設けた構成
を有している。この構成により、一定マクロブロック間
隔で動き量0の動き補償予測が選択されたビット列を出
力することによって、伝送路でビット誤りが発生し、誤
り位置から可変長符号の誤った復号を開始した場合にお
いても、強制動き補償予測マクロブロックで、動き量が
0以外のビット列が受信されることにより、ビット誤り
を検出することができ、可変長符号の誤ったデコードに
よる映像の乱れを局在化することとなる。
Further, the moving picture coding apparatus of the present invention comprises: a macroblock counting means for counting the number of coding macroblocks and outputting an instruction to insert a synchronous macroblock;
Synchronized pattern creation instructing means for turning on the forced motion compensation prediction signal for turning on the reference image to obtain a predicted image by motion compensation when the synchronization macroblock insertion instruction is input, and a predicted image obtained by motion compensating the reference image. And a motion compensating unit that determines that motion compensation is valid and sets a motion amount to zero in a forced motion compensation prediction macro block to be set. With this configuration, when a bit sequence in which motion compensation prediction with a motion amount of 0 is selected is output at a constant macroblock interval, a bit error occurs on a transmission path, and erroneous decoding of a variable length code is started from an error position Also in the above, by receiving a bit sequence having a motion amount other than 0 in the forced motion compensation prediction macro block, a bit error can be detected, and video disturbance due to erroneous decoding of a variable length code is localized. It will be.

【0012】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、無条
件でフレーム内符号化を施すための強制フレーム内符号
化選択信号をオンとする同期パターン作成指示手段と、
前記無条件でフレーム内符号化を施す対象の強制フレー
ム内符号化マクロブロックで、フレーム内符号化を選択
するインタレース/ノンインタレース判定手段とを設け
た構成を有している。この構成により、一定マクロブロ
ック間隔でフレーム内符号化が選択されたビット列を出
力することによって、伝送路でビット誤りが発生し、誤
り位置から可変長符号の誤った復号を開始した場合にお
いても、強制フレーム内符号化マクロブロックで、フレ
ーム内予測以外のビット列が受信されることにより、ビ
ット誤りを検出することができ、可変長符号の誤ったデ
コードによる映像の乱れを局在化することとなる。
[0012] Also, the moving picture coding apparatus of the present invention comprises: a macroblock counting means for counting the number of coded macroblocks and outputting an instruction to insert a synchronous macroblock;
When the synchronization macroblock insertion instruction is input, a synchronization pattern creation instruction unit that turns on a forced intraframe encoding selection signal for unconditionally performing intraframe encoding,
An interlaced / non-interlaced judging means for selecting intra-frame encoding in a compulsory intra-frame encoded macroblock to be subjected to unconditional intra-frame encoding is provided. With this configuration, by outputting a bit sequence in which intra-frame encoding is selected at a constant macroblock interval, a bit error occurs on the transmission path, and even when erroneous decoding of a variable-length code is started from an error position, By receiving a bit string other than the intra-frame prediction in the forced intra-coded macroblock, a bit error can be detected, and video disturbance due to erroneous decoding of a variable-length code is localized. .

【0013】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、フレ
ーム構造で離散コサイン変換するための強制フレーム離
散コサイン変換選択信号をオンとする同期パターン作成
指示手段と、前記強制フレーム離散コサイン変換選択信
号がオンの時は、無条件でフレーム離散コサイン変換を
選択して直交変換する直交変換手段とを設けた構成を有
している。この構成により、一定マクロブロック間隔で
フレームDCTが選択されたビット列を出力することによ
って、伝送路でビット誤りが発生し、誤り位置から可変
長符号の誤った復号を開始した場合においても、強制フ
レームDCTマクロブロックで、フレームDCT以外のビット
列が受信されることにより、ビット誤りを検出すること
ができ、可変長符号の誤ったデコードによる映像の乱れ
を局在化することとなる。
The video encoding apparatus of the present invention further comprises: a macroblock counting means for counting the number of encoded macroblocks and outputting an instruction to insert a synchronous macroblock;
Synchronization pattern creation instructing means for turning on a forced frame discrete cosine transform selection signal for performing discrete cosine transform in a frame structure when the synchronization macroblock insertion instruction is input, and when the forced frame discrete cosine transform selection signal is on. Has an arrangement in which orthogonal transform means for unconditionally selecting a frame discrete cosine transform and performing orthogonal transform is provided. With this configuration, a frame DCT is output at a fixed macroblock interval by outputting a selected bit string, so that a bit error occurs in the transmission path, and even when erroneous decoding of a variable length code is started from an error position, a forced frame is output. By receiving a bit string other than the frame DCT in the DCT macroblock, a bit error can be detected, and the disturbance of video due to erroneous decoding of the variable length code is localized.

【0014】また、本発明の動画像符号化装置は、符号
化マクロブロック数をカウントして同期マクロブロック
の挿入指示を出力するマクロブロックカウント手段と、
前記同期マクロブロックの挿入指示を入力すると、固定
量子化幅を出力する同期パターン作成指示手段とを設け
た構成を有している。この構成により、一定マクロブロ
ック間隔で固定量子化幅をビット列に出力することによ
って、伝送路でビット誤りが発生し、誤り位置から可変
長符号の誤った復号を開始した場合においても、同期パ
ターン作成マクロブロックで、固定量子化幅以外のビッ
ト列が受信されることにより、ビット誤りを検出するこ
とができ、可変長符号の誤ったデコードによる映像の乱
れを局在化することとなる。
The video encoding apparatus according to the present invention further comprises: a macroblock counting means for counting the number of encoded macroblocks and outputting an instruction to insert a synchronous macroblock;
A synchronous pattern creation instructing means for outputting a fixed quantization width when the synchronous macroblock insertion instruction is input is provided. With this configuration, by outputting a fixed quantization width to a bit string at a constant macroblock interval, a bit error occurs on a transmission path, and even when erroneous decoding of a variable length code is started from an error position, a synchronization pattern is created. By receiving a bit string other than the fixed quantization width in the macro block, a bit error can be detected, and the disturbance of the video due to erroneous decoding of the variable-length code is localized.

【0015】また、本発明の動画像伝送装置は、前記動
画像符号化装置と、この動画像符号化装置と伝送手段に
よって接続された動画像復号化装置とを設け、この動画
像復号化装置にさらに復号処理マクロブロック数をカウ
ントし、予め定めた間隔のマクロブロック毎に同期パタ
ーンチェック指示を出力する同期マクロブロック判定手
段と、同期パターンチェック指示を入力すると、前記マ
クロブロックが予め定めた同期パターンを含むか否かに
よりストリームエラーを判定する同期パターンチェック
手段と、ストリームエラー発生時は、前記復号化マクロ
ブロックと同一位置の参照画像を出力させる動き補償手
段と、前記参照画像を出力するためのスイッチ手段と、
再生画像を出力するための加算手段とを設け、同期パタ
ーン異常時は、前フレームの同一場所の画像を再度出力
する構成を有している。この構成により、伝送手段(伝
送路)でビット誤りが発生し、誤り位置から可変長符号
の誤った復号を開始した場合においても、同期パターン
作成マクロブロックで、同期パターン以外のビット列が
受信されることにより、ビット誤りを検出することがで
き、前フレームと同一の映像を出力することにより、可
変長符号の誤ったデコードによる映像の乱れを局在化し
た映像をモニタへ出力することとなる。
Further, a moving picture transmitting apparatus according to the present invention includes the moving picture coding apparatus, and a moving picture decoding apparatus connected to the moving picture coding apparatus by a transmission means. Further, the number of decoding macroblocks is counted, a synchronous macroblock determining means for outputting a synchronous pattern check instruction for each macroblock at a predetermined interval, and when a synchronous pattern check instruction is input, the macroblock A synchronization pattern checking unit that determines a stream error based on whether or not a pattern is included, a motion compensation unit that outputs a reference image at the same position as the decoded macroblock when a stream error occurs, and a unit that outputs the reference image. Switch means;
An addition unit for outputting a reproduced image is provided, and when a synchronization pattern is abnormal, an image at the same location of the previous frame is output again. With this configuration, even when a bit error occurs in the transmission unit (transmission path) and erroneous decoding of the variable length code starts from the error position, a bit string other than the synchronization pattern is received by the synchronization pattern creation macroblock. As a result, a bit error can be detected, and by outputting the same video as the previous frame, a video in which disturbance of the video due to erroneous decoding of the variable length code is localized is output to the monitor.

【0016】また、本発明の動画像伝送装置は、前記動
画像復号化装置でストリームエラー発生頻度を計測する
エラー計測手段と、前記ストリームエラー発生頻度を前
記動画像符号化装置へ伝送するためにネットワークへ送
出するエラー頻度送出手段と、前記ストリームエラー発
生頻度を前記ネットワークより動画像符号化装置へ入力
するエラー頻度入力手段と、前記ストリームエラー発生
頻度が増加した場合は、前記動画像符号化装置で前記同
期マクロブロックの挿入間隔を狭める一方で、前記スト
リームエラー発生頻度が減少した場合には、前記同期マ
クロブロックの挿入間隔を広める挿入間隔変更手段とを
設けた構成を有している。この構成により、動画像復号
化装置から動画像符号化装置へビットエラー発生状況を
フィードバックするので、伝送路でビット誤りが変化し
た場合に、自動的に誤り検出能力を調整できることとな
る。
Further, the moving picture transmitting apparatus according to the present invention includes an error measuring means for measuring a stream error occurrence frequency in the moving picture decoding apparatus, and transmitting the stream error occurrence frequency to the moving picture encoding apparatus. Error frequency sending means for sending to the network, error frequency input means for inputting the stream error occurrence frequency to the video encoding device from the network, and the video encoding device when the stream error occurrence frequency increases. In this case, while the insertion interval of the synchronous macroblock is narrowed, when the occurrence frequency of the stream error is reduced, an insertion interval changing unit for increasing the insertion interval of the synchronous macroblock is provided. According to this configuration, the bit error occurrence state is fed back from the video decoding device to the video encoding device, so that when a bit error changes on the transmission path, the error detection capability can be automatically adjusted.

【0017】また、本発明の動画像伝送装置は、前記動
画像復号化装置でストリームエラーが発生した画面内の
水平位置、垂直位置を出力する位置出力手段と、前記水
平位置、垂直位置を前記ネットワークへ送出する位置送
出手段と、前記水平位置、垂直位置を前記動画像符号化
装置へ入力する位置入力手段と、前記水平位置、垂直位
置を動き補償予測時の参照画像とすることを抑制する参
照抑制手段とを設けた構成を有している。この構成によ
り、伝送路でビット誤り発生した場合に、前記水平位
置、垂直位置を動画像符号化装置へフィードバックする
ので、エラー発生位置を動き補償予測に用いることを原
因とする映像の乱れの空間的拡大を防止することとな
る。また、無線伝送路を用いた動画像伝送装置に容易に
対応でき、伝送路エラー発生時でも、映像の乱れを空間
的/時間的に局在化して画質を保てることとなる。
Further, the moving picture transmitting apparatus of the present invention comprises: a position output means for outputting a horizontal position and a vertical position in a screen where a stream error has occurred in the moving picture decoding apparatus; Position sending means for sending to the network, position input means for inputting the horizontal position and the vertical position to the moving picture coding apparatus, and suppressing the horizontal position and the vertical position from being used as reference images for motion compensation prediction. It has a configuration provided with reference suppression means. With this configuration, when a bit error occurs in the transmission path, the horizontal position and the vertical position are fed back to the video encoding device. Target expansion. Further, it is possible to easily cope with a moving image transmission apparatus using a wireless transmission path, and even when a transmission path error occurs, image disturbance can be localized spatially / temporally to maintain image quality.

【0018】また、本発明の動画像伝送装置は、前記動
画像復号化装置でストリームエラー発生頻度を計測する
エラー計測手段と、前記ストリームエラー発生頻度を前
記ネットワークへ送出するエラー頻度送出手段と、前記
ストリームエラー発生頻度を前記動画像符号化装置へ入
力するエラー頻度入力手段と、前記ストリームエラー発
生頻度が上昇した場合は、前記動画像符号化装置で動き
補償予測するブロック比率を減少させる一方で、前記ス
トリームエラー発生頻度が下降した場合には、動き補償
予測するブロック比率を増加させる動き補償手段とを設
けた構成を有している。この構成により、ビット誤り率
が大きい場合は動き補償予測マクロブロック数が減少さ
せて、映像の乱れの空間的拡大を防止し、ビット誤り率
が小さい場合は動き補償予測マクロブロック数が増加さ
せるので、画質を向上させることとなる。
The moving picture transmission apparatus of the present invention further comprises: an error measuring means for measuring a stream error occurrence frequency in the moving picture decoding apparatus; and an error frequency sending means for sending the stream error occurrence frequency to the network. An error frequency input unit for inputting the stream error occurrence frequency to the video encoding device, and, when the stream error occurrence frequency increases, reducing a block ratio for motion compensation prediction in the video encoding device. And a motion compensation means for increasing the block ratio for motion compensation prediction when the stream error occurrence frequency decreases. With this configuration, when the bit error rate is large, the number of motion-compensated predicted macroblocks is reduced to prevent spatial expansion of video disturbance, and when the bit error rate is small, the number of motion-compensated predicted macroblocks is increased. This improves the image quality.

【0019】また、本発明の動画像伝送記録装置は、前
記動画像符号化装置と、この動画像符号化装置と伝送手
段によって接続された動画像復号化装置とを設け、この
動画像復号化装置にさらに復号処理マクロブロック数を
カウントし、予め定めた間隔のマクロブロック毎に同期
パターンチェック指示を出力する同期マクロブロック判
定手段と、同期パターンチェック指示を入力すると、前
記マクロブロックが予め定めた同期パターンを含むか否
かによりストリームエラーを判定する同期パターンチェ
ック手段と、ストリームエラー発生時は、前記復号化マ
クロブロックと同一位置の参照画像を出力させる動き補
償手段と、前記参照画像を出力するためのスイッチ手段
と、再生画像を出力するための加算手段とを設け、同期
パターン異常時は、前フレームの同一場所の画像を再度
出力する動画像伝送装置と、録画手段とを設けた構成を
有している。この構成により、伝送品質の劣る伝送路に
よって伝送された場合においても、前述のように、伝送
される画像の乱れの少ない画像を記録することができ、
回線品質の良好な有線回線がない場所においても遠隔値
へ画像を伝送して記録でき、セキュリティ機器として使
用できることとなる。
A moving picture transmission and recording apparatus according to the present invention includes the moving picture coding apparatus and a moving picture decoding apparatus connected to the moving picture coding apparatus by a transmission means. The apparatus further counts the number of decoding macroblocks, outputs a synchronization pattern check instruction for each macroblock at a predetermined interval, and inputs a synchronization pattern check instruction. A synchronization pattern checking unit that determines a stream error based on whether a synchronization pattern is included, a motion compensation unit that outputs a reference image at the same position as the decoded macroblock when a stream error occurs, and outputs the reference image. Switch means and an addition means for outputting a reproduced image. A moving picture transmission apparatus that outputs the same location image of the previous frame again, and has a structure provided with a recording means. With this configuration, even when transmitted by a transmission path with poor transmission quality, as described above, it is possible to record an image with little disturbance of the transmitted image,
Images can be transmitted and recorded to remote values even in places where there is no wired line with good line quality, and can be used as security equipment.

【0020】また、本発明の動画像伝送記録装置は、前
記動画像復号化装置でストリームエラー発生頻度を計測
するエラー計測手段と、前記ストリームエラー発生頻度
を前記動画像符号化装置へ伝送するためにネットワーク
へ送出するエラー頻度送出手段と、前記ストリームエラ
ー発生頻度を前記ネットワークより動画像符号化装置へ
入力するエラー頻度入力手段と、前記ストリームエラー
発生頻度が増加した場合は、前記動画像符号化装置で前
記同期マクロブロックの挿入間隔を狭める一方で、前記
ストリームエラー発生頻度が減少した場合には、前記同
期マクロブロックの挿入間隔を広める挿入間隔変更手段
とを設けた動画像伝送装置と、録画手段とを設けた構成
を有している。この構成により、伝送品質の劣る伝送路
によって伝送された場合においても、前述のように、伝
送される画像の乱れを低減して記録することができ、回
線品質の良好な有線回線がない場所においても遠隔値へ
画像を伝送して記録でき、セキュリティ機器として使用
できることとなる。
Further, the moving picture transmission / recording apparatus of the present invention comprises an error measuring means for measuring a stream error occurrence frequency in the moving picture decoding apparatus, and transmitting the stream error occurrence frequency to the moving picture encoding apparatus. Error frequency sending means for sending the stream error occurrence frequency to the video encoding device from the network, and an error frequency sending means for sending the stream error occurrence frequency to the video encoding apparatus. A moving image transmission apparatus provided with an insertion interval changing means for increasing an insertion interval of the synchronous macroblock when the stream error occurrence frequency is reduced while reducing an insertion interval of the synchronous macroblock in the apparatus; Means. With this configuration, even when transmitted by a transmission path with poor transmission quality, as described above, it is possible to reduce the disturbance of the transmitted image and record it, and in a place where there is no wired line with good line quality. Can also transmit and record an image to a remote value, and can be used as a security device.

【0021】また、本発明の動画像伝送記録装置は、前
記動画像復号化装置でストリームエラーが発生した画面
内の水平位置、垂直位置を出力する位置出力手段と、前
記水平位置、垂直位置を前記ネットワークへ送出する位
置送出手段と、前記水平位置、垂直位置を前記動画像符
号化装置へ入力する位置入力手段と、前記水平位置、垂
直位置を動き補償予測時の参照画像とすることを抑制す
る参照抑制手段とを設けた動画像伝送装置と、録画手段
とを設けた構成を有している。この構成により、伝送品
質の劣る伝送路によって伝送された場合においても、前
述のように、伝送される画像の乱れを低減して記録する
ことができ、回線品質の良好な有線回線がない場所にお
いても遠隔値へ画像を伝送して記録でき、セキュリティ
機器として使用できることとなる。
Also, the moving picture transmission and recording apparatus of the present invention comprises: a position output means for outputting a horizontal position and a vertical position in a screen where a stream error has occurred in the moving picture decoding apparatus; Position sending means for sending to the network, position input means for inputting the horizontal position and the vertical position to the video encoding device, and suppressing the horizontal position and the vertical position from being used as reference images for motion compensation prediction And a recording device. With this configuration, even when transmitted by a transmission path with poor transmission quality, as described above, it is possible to reduce the disturbance of the transmitted image and record it, and in a place where there is no wired line with good line quality. Can also transmit and record an image to a remote value, and can be used as a security device.

【0022】また、本発明の動画像伝送記録装置は、前
記動画像復号化装置でストリームエラー発生頻度を計測
するエラー計測手段と、前記ストリームエラー発生頻度
を前記ネットワークへ送出するエラー頻度送出手段と、
前記ストリームエラー発生頻度を前記動画像符号化装置
へ入力するエラー頻度入力手段と、前記ストリームエラ
ー発生頻度が上昇した場合は、前記動画像符号化装置で
動き補償予測するブロック比率を減少させる一方で、前
記ストリームエラー発生頻度が下降した場合には、動き
補償予測するブロック比率を増加させる動き補償手段と
を設けた動画像伝送装置と、録画手段とを設けた構成を
有している。この構成により、伝送品質の劣る伝送路に
よって伝送された場合においても、前述のように、伝送
される画像の乱れを低減して記録することができ、回線
品質の良好な有線回線がない場所においても遠隔値へ画
像を伝送して記録でき、セキュリティ機器として使用で
きることとなる。
Further, the moving picture transmission and recording apparatus of the present invention comprises: an error measuring means for measuring a stream error occurrence frequency in the moving picture decoding apparatus; and an error frequency sending means for sending the stream error occurrence frequency to the network. ,
An error frequency input unit for inputting the stream error occurrence frequency to the video encoding device, and, when the stream error occurrence frequency increases, reducing a block ratio for motion compensation prediction in the video encoding device. In the case where the stream error occurrence frequency decreases, a moving image transmitting apparatus provided with a motion compensating means for increasing a block ratio for motion compensation prediction, and a recording means are provided. With this configuration, even when transmitted by a transmission path with poor transmission quality, as described above, it is possible to reduce the disturbance of the transmitted image and record it, and in a place where there is no wired line with good line quality. Can also transmit and record an image to a remote value, and can be used as a security device.

【0023】[0023]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を用いて説明する。 [第1の実施の形態]図1に示すように、本発明の第1
の実施の形態の動画像符号化装置は、符号化マクロブロ
ック数をカウントして同期マクロブロックの挿入指示を
出力するマクロブロックカウント部130と、前記同期マ
クロブロックの挿入指示を入力すると、参照画像を動き
補償して予測画像とするための強制動き補償予測信号を
onとする同期パターン作成指示部132と、前記参照画像
を動き補償して予測画像とする対象の強制的動き補償予
測マクロブロックで、動き補償を有効と判定する動き補
償部120とを設けたものである。
Embodiments of the present invention will be described below with reference to the drawings. [First Embodiment] As shown in FIG.
The video encoding apparatus according to the embodiment, the macroblock counting unit 130 counts the number of encoded macroblocks and outputs an instruction to insert a synchronous macroblock, and inputs the instruction to insert the synchronous macroblock, a reference image Motion compensating prediction signal for motion compensating
a synchronous pattern creation instructing unit 132 to be turned on, and a motion compensating unit 120 that determines that motion compensation is effective in a compulsory motion compensation prediction macroblock to be used as a prediction image by performing motion compensation on the reference image. It is.

【0024】図1において、inter/intra判定部100は、
図示しないカメラとA/D変換装置を経由して得られるデ
ィジタル画像信号(以下、入力画像信号という)と、動き
補償部120が出力した動き補償後の予測画像とを比較し
てフレーム内符号化かフレーム間予測符号化するかを決
定する。スイッチ部(No.1)102は、inter/intra判定結果
と固定値(0)入力と動き補償予測画像を入力し、inte
r/intra判定結果がintraである場合は0を出力し、inte
r/intra判定結果がinterである場合は動き補償予測画像
を出力する。直交変換部104は、inter/intra判定がintr
aを示す場合は入力画像信号を入力し、interの場合は入
力画像信号と動き補償予測画像の差分である予測残差を
入力し、フレームDCT(離散コサイン変換)を行うかフィ
ールドDCTを行うかを判定して変換する。量子化部106
は、直交変換係数と量子化幅を入力して、直交変換係数
を量子化し、量子化直交変換係数を出力する。VLC部108
は、量子化直交変換係数とintre/intra判定結果、動き
補償有効/無効等のブロック付随情報を可変長符号化す
る。バッファ部110は、不定速度で入力される可変長符
号を一旦蓄積し、一定速度で出力するとともに、内部蓄
積符号量から量子化幅を算出して出力する。逆量子化部
112は、量子化直交変換係数を入力して逆量子化し、逆
量子化直交変換係数を出力する。逆直交変換部114は、
逆量子化直交変換係数を入力し、逆直交変換して逆直交
変換係数を出力する。フレームメモリ部116は、逆直交
変換係数と後述するスイッチ部(No.2)の出力加算結果を
蓄積する。スイッチ部(No.2)118は、inter/intra判定が
intraを示している時は固定値0を出力し、interを示し
ている時は動き補償予測画像を出力する。動き補償部12
0は、入力画像信号、フレームメモリ部に蓄積された画
像、強制動き補償予測選択信号を入力し、動き補償予測
の有効/無効、動きベクトル種類、動きベクトル、動き
補償予測画像、マクロブロック処理終了トリガーを出力
する。マクロブロックカウント部130は、マクロブロッ
ク処理終了トリガを入力し、一定マクロブロック数毎に
同期パターン作成指示を出力する。同期パターン作成指
示部132は、同期パターン作成指示を入力して、強制動
き補償予測選択信号を出力する。
In FIG. 1, the inter / intra determination unit 100
A digital image signal obtained through a camera (not shown) and an A / D converter (hereinafter referred to as an input image signal) is compared with a motion-compensated predicted image output from the motion compensation unit 120 to perform intra-frame encoding. Or inter-frame predictive coding. The switch unit (No. 1) 102 receives the inter / intra determination result, the fixed value (0) input, and the motion compensated prediction image, and
If the r / intra judgment result is intra, 0 is output and inte
If the r / intra determination result is inter, a motion compensated prediction image is output. The orthogonal transform unit 104 determines that the inter / intra determination is intr
In the case of a, the input image signal is input, and in the case of inter, the prediction residual which is the difference between the input image signal and the motion compensated prediction image is input, and frame DCT (discrete cosine transform) or field DCT is performed. Is determined and converted. Quantization unit 106
Inputs an orthogonal transform coefficient and a quantization width, quantizes the orthogonal transform coefficient, and outputs a quantized orthogonal transform coefficient. VLC unit 108
Performs variable-length encoding of quantized orthogonal transform coefficients, intre / intra determination results, and block accompanying information such as motion compensation enable / disable. The buffer unit 110 temporarily stores the variable length code input at an indefinite speed, outputs the variable length code at a constant speed, and calculates and outputs a quantization width from the internally stored code amount. Inverse quantization unit
112 inputs the quantized orthogonal transform coefficients and inversely quantizes them, and outputs inverse quantized orthogonal transform coefficients. The inverse orthogonal transform unit 114
The inverse-quantized orthogonal transform coefficient is input, and inverse orthogonal transform is performed to output an inverse orthogonal transform coefficient. The frame memory unit 116 stores the inverse orthogonal transform coefficient and the output addition result of the switch unit (No. 2) described later. Switch section (No. 2) 118 has inter / intra judgment
When indicating intra, a fixed value 0 is output, and when indicating inter, a motion compensated prediction image is output. Motion compensation unit 12
0 inputs the input image signal, the image stored in the frame memory unit, the forced motion compensation prediction selection signal, and enables / disables the motion compensation prediction, the motion vector type, the motion vector, the motion compensation prediction image, and ends the macroblock processing. Output the trigger. The macroblock counting unit 130 inputs a macroblock processing end trigger, and outputs a synchronization pattern creation instruction every fixed number of macroblocks. The synchronization pattern creation instruction section 132 receives the synchronization pattern creation instruction and outputs a forced motion compensation prediction selection signal.

【0025】次に、本実施形態における動画像符号化動
作を説明する。本実施形態は、動画像符号化方式の国際
標準であるMPEG-2(ビットレート10Mb/s以下、ノンイン
タレース/インタレース対応)を想定したものである。
このMPEG-2は、画面を一定の大きさの多数のマクロブロ
ックに分割し、マクロブロック毎に符号化する。また、
符号化効率を高めるため、参照画像を動き補償(参照画
像と入力画像の相関が最も高くなるようなマクロブロッ
ク毎の動きを検出し、その動きが示す位置から画像を構
成する。)して予測画像とする方法が用いられる。
Next, a description will be given of a moving picture coding operation in the present embodiment. This embodiment assumes MPEG-2 (bit rate of 10 Mb / s or less, non-interlaced / interlaced compatible), which is an international standard for video coding.
In MPEG-2, a screen is divided into a number of macroblocks of a fixed size, and encoding is performed for each macroblock. Also,
In order to enhance the coding efficiency, the reference image is motion-compensated (a motion for each macroblock in which the correlation between the reference image and the input image is highest is detected, and an image is formed from the position indicated by the motion). An image method is used.

【0026】inter/intra判定部100は、マクロブロック
単位で入力される入力画像信号と、動き補償部120が出
力した動き補償予測画像を入力し、入力画像信号の分散
値と、入力画像信号と動き補償予測画像の差分自乗和を
算出し、差分自乗和が小さければフレーム間予測符号化
(inter)を選択し、等しいか大きければフレーム内符号
化(intra)を選択し、結果をVLC部108、スイッチ部(No.
1)102、スイッチ部(No.2)118へ出力する。スイッチ部(N
o.1)102は、inter/intra判定部100がintraを示している
時は固定値0を減算器(図示せず)へ出力し、直交変換
部104が入力画像信号を入力するようにし、interを示し
ている時は動き補償予測画像を前記減算器へ出力し、直
交変換部104が予測差分を入力するようにする。直交変
換部104は、入力画像信号または予測差分を入力し、フ
レーム構造でDCT(離散コサイン変換)するか、フィール
ド構造に分割してDCTするかを隣接ライン間相関と、1ラ
イン毎の相関の大小により判定して、結果をVLC部108へ
出力するとともに、DCT変換を実行して直交変換係数を
出力する。量子化部106は、直交変換係数の情報量を削
減するため、バッファ部110が出力した量子化幅で直交
変換係数を量子化し、量子化直交変換係数を出力する。
逆量子化部112は、量子化直交変換係数を入力し、量子
化時と同一の量子化幅で逆量子化し、逆量子化直交変換
係数を出力する。逆直交変換部114は、逆量子化直交変
換係数を入力して、逆直交変換し、逆直交変換係数を出
力する。スイッチ部(No.2)118は、inter/intra判定結果
がintraを示している時は0を加算器に出力し、interを
示している時は動き補償予測画像を加算器に出力し、フ
レームメモリ部116へ量子化誤差を含む再生画像を出力
するようにする。VLC部108は、量子化直交変換係数、in
ter/intra判定結果、動き補償予測付随情報を入力し、
これらを可変長符号化してバッファ部110へ出力する。
バッファ部110は、不定速度で入力される可変長符号を
一旦蓄積し、一定速度で出力するとともに、内部蓄積符
号量に比例させた量子化幅を算出して量子化部106へ出
力する。動き補償部120は、入力画像信号、フレームメ
モリ部116から再生画像、同期パターン作成指示部132か
ら強制動き補償予測選択信号を入力し、強制動き補償予
測選択信号ON時は無条件で動き補償予測を有効とし、ブ
ロックマッチング法で動きベクトル、動き補償予測画
像、付随情報(動き補償予測の有効/無効、フレーム動ベ
クトル/フィールド動ベクトル判定結果、フィールド動
ベクトルの場合は参照画像はtop fieldかbottomFieldか
の区別)を出力する。ここで、ブロックマッチング法の
具体例は、例えば「画像の帯域圧縮と符号化技術(日刊
工業新聞社)、p61〜P62」に記載されている。
The inter / intra determination unit 100 receives an input image signal input in units of macroblocks and a motion-compensated predicted image output from the motion compensation unit 120, and calculates a variance value of the input image signal and an input image signal. Calculates the sum of squared differences of the motion-compensated predicted image.
(inter), and if equal or greater, select intra-frame coding (intra), and store the result in the VLC unit 108, switch unit (No.
1) Output to 102, switch section (No. 2) 118. Switch (N
o.1) 102, when the inter / intra determination unit 100 indicates intra, outputs a fixed value 0 to a subtractor (not shown), and causes the orthogonal transformation unit 104 to input an input image signal; When inter is indicated, a motion compensated prediction image is output to the subtractor, and the orthogonal transform unit 104 receives the prediction difference. The orthogonal transform unit 104 receives an input image signal or a prediction difference, and determines whether to perform DCT (discrete cosine transform) in a frame structure or to perform DCT by dividing into a field structure, and a correlation between adjacent lines and a correlation for each line. Judgment is made based on the magnitude, and the result is output to VLC section 108, and DCT is performed to output an orthogonal transform coefficient. The quantization unit 106 quantizes the orthogonal transform coefficient with the quantization width output from the buffer unit 110 and outputs the quantized orthogonal transform coefficient in order to reduce the information amount of the orthogonal transform coefficient.
The inverse quantization unit 112 receives the quantized orthogonal transform coefficients, inversely quantizes them with the same quantization width as that at the time of quantization, and outputs inverse quantized orthogonal transform coefficients. The inverse orthogonal transform unit 114 receives the inverse quantized orthogonal transform coefficient, performs an inverse orthogonal transform, and outputs an inverse orthogonal transform coefficient. The switch unit (No. 2) 118 outputs 0 to the adder when the inter / intra determination result indicates intra, and outputs the motion compensated prediction image to the adder when it indicates inter, A reproduced image including a quantization error is output to the memory unit 116. The VLC unit 108 calculates the quantized orthogonal transform coefficients, in
Input the ter / intra judgment result, motion compensation prediction accompanying information,
These are variable-length coded and output to the buffer unit 110.
The buffer unit 110 temporarily accumulates the variable-length code input at an indefinite speed, outputs the variable-length code at a constant speed, calculates a quantization width in proportion to the internally stored code amount, and outputs it to the quantization unit 106. The motion compensation unit 120 receives the input image signal, the reproduced image from the frame memory unit 116, and the forced motion compensation prediction selection signal from the synchronization pattern creation instruction unit 132, and unconditionally performs motion compensation prediction when the forced motion compensation prediction selection signal is ON. Is enabled, and the motion vector, motion-compensated predicted image, and accompanying information (motion-compensated prediction enabled / disabled, frame motion vector / field motion vector judgment result, and the reference image for a field motion vector are top field or bottomField Is output. Here, a specific example of the block matching method is described, for example, in "Band Compression and Coding Techniques for Images (Nikkan Kogyo Shimbun), pp. 61-62".

【0027】強制動き補償予測選択信号がOFFの時は、
第1ステップとして、ブロックマッチング法により動き
ベクトル、動き補償予測画像、動き補償予測の付随情報
を求める。第2ステップとして、動き補償予測画像と、
動き補償予測前の(動き量を0とした場合)予測画像のい
ずれかが符号化効率が良好かを入力画像信号との差分絶
対値和によって判定する。第3ステップとして、判定結
果を反映した予測画像をスイッチ部(No.1)102とinter/i
ntra判定部100へ出力し、動き補償の付随情報をVLC部10
8へ出力し、上記処理終了トリガをマクロブロックカウ
ント部130へ出力する。
When the forced motion compensation prediction selection signal is OFF,
As a first step, a motion vector, a motion-compensated predicted image, and accompanying information of motion-compensated prediction are obtained by a block matching method. As a second step, a motion-compensated predicted image;
Whether any of the predicted images before the motion compensation prediction (when the motion amount is set to 0) has good coding efficiency is determined based on the sum of absolute differences with the input image signal. As a third step, the prediction image reflecting the determination result is inter / i-switched with the switch unit (No. 1) 102.
output to the ntra determination unit 100 and the accompanying information of the motion compensation
8, and outputs the above processing end trigger to the macroblock counting unit 130.

【0028】マクロブロックカウント部130は、処理終
了トリガを入力し、一定マクロブロック数毎に同期パタ
ーン作成指示部132へ同期パターン作成指示信号を出力
する。同期パターン作成指示部132は、同期パターン作
成指示信号入力時は強制動き補償予測選択信号をONとし
て出力し、同期パターン作成指示信号入力がOFFの時は
強制動き補償予測選択信号をOFFとして動き補償部120へ
出力する。
The macroblock counting section 130 receives a processing end trigger and outputs a synchronization pattern creation instruction signal to the synchronization pattern creation instruction section 132 for every fixed number of macroblocks. The synchronization pattern creation instructing unit 132 outputs the forced motion compensation prediction selection signal as ON when the synchronization pattern creation instruction signal is input, and outputs the forced motion compensation prediction selection signal as OFF when the synchronization pattern creation instruction signal is OFF, and performs motion compensation. Output to the unit 120.

【0029】以上のように、本発明の第1の実施の形態
の動画像符号化装置は、符号化マクロブロック数をカウ
ントして同期マクロブロックの挿入指示を出力するマク
ロブロックカウント部130と、前記同期マクロブロック
の挿入指示を入力すると、参照画像を動き補償して予測
画像とするための強制動き補償予測信号をonとする同期
パターン作成指示部132と、前記参照画像を動き補償し
て予測画像とする対象の強制的動き補償予測マクロブロ
ックで、動き補償を有効と判定する動き補償部120とを
設け、一定マクロブロック毎に強制的に動き補償予測マ
クロブロックを符号化するので、画像再生時にビット誤
りが発生し、誤り位置から可変長符号の誤った復号を開
始した場合においても、強制動き補償予測マクロブロッ
クで、動き補償予測選択信号(OFF)が受信され、ビッ
ト誤りを検出することができるので、可変長符号の誤っ
たデコードによる映像の乱れを局在化することが可能な
ビット列を出力することができる。
As described above, the moving picture coding apparatus according to the first embodiment of the present invention includes a macroblock counting unit 130 that counts the number of coded macroblocks and outputs an instruction to insert a synchronous macroblock. When the synchronization macroblock insertion instruction is input, a synchronization pattern creation instructing unit 132 that turns on a forced motion compensation prediction signal for motion-compensating a reference image to form a prediction image, and performs motion compensation on the reference image to perform prediction. A motion compensation unit 120 that determines that motion compensation is effective is provided for a compulsory motion compensation prediction macroblock to be an image, and the motion compensation prediction macroblock is forcibly encoded for each fixed macroblock. Even when a bit error occurs and erroneous decoding of the variable length code starts from the error position, the motion compensation prediction No. (OFF) is received and it is possible to detect a bit error, it is possible to output a bit string that can be localized disturbance of image due to incorrect decoding of variable length codes.

【0030】[第2の実施の形態]本発明の第2の実施
の形態の動画像符号化装置の構成は、第1の実施の形態
と概ね同様であるため、図1を用いて説明する。これは
第1の実施形態とは、参照画像を動き補償して予測画像
とする対象の強制動き補償予測マクロブロックで、動き
補償を有効と判定し、かつ複数種類存在する動き補償モ
ード中、予め定めた特定モードを選択する動き補償部12
0を設けた点が相違している。この構成により、一定マ
クロブロック毎に強制的にフレーム動きベクトルを用い
た動き補償予測マクロブロックが符号化されるので、画
像再生時にビット誤りが発生し、誤り位置から可変長符
号の誤った復号を開始した場合においても、強制動き補
償予測マクロブロックで、動き補償予測選択信号(OF
F)が受信され、ビット誤りを検出することができるの
で、可変長符号の誤ったデコードによる映像の乱れを局
在化することが可能なビット列を出力することができる
という効果も得られる。また、同期パターンが動き補償
予測有効かつフレーム動きベクトルの選択の2種類の条
件によって構成されているので、ビット誤りが発生し、
可変長符号を誤ってデコードした場合に、同期パターン
と偶然一致し検出漏れとなる可能性を低減させることが
できるという効果も得られる。
[Second Embodiment] The configuration of a moving picture coding apparatus according to a second embodiment of the present invention is substantially the same as that of the first embodiment, and will be described with reference to FIG. . This is different from the first embodiment in that a motion compensation is determined to be valid in a forced motion compensation prediction macroblock to be used as a prediction image by performing motion compensation on a reference image, and a plurality of types of motion compensation modes are determined in advance. Motion compensator 12 for selecting a specified specific mode
The difference is that 0 is provided. With this configuration, a motion-compensated prediction macroblock using a frame motion vector is forcibly coded for each fixed macroblock, so that a bit error occurs at the time of image reproduction, and erroneous decoding of a variable-length code is performed from an error position. Even when it is started, the motion compensation prediction selection signal (OF
Since F) is received and a bit error can be detected, it is possible to output a bit string capable of localizing a disturbance of a video due to erroneous decoding of a variable-length code. In addition, since the synchronization pattern is configured by two types of conditions, that is, the motion compensation prediction is valid and the frame motion vector is selected, a bit error occurs,
When the variable length code is decoded erroneously, it is possible to obtain an effect that it is possible to reduce the possibility of accidental coincidence with the synchronization pattern and omission of detection.

【0031】本実施形態においては、動き補償部120が
入力画像信号、フレームメモリ部116から再生画像、同
期パターン作成指示部132から強制動き補償予測選択信
号を入力し、強制動き補償予測選択信号がONの時は無条
件で動き補償予測を有効とし、かつブロックマッチング
法でフレーム動きベクトル、フレーム動き補償予測画
像、付随情報(動き補償予測は有効、フレーム動きベク
トルを選択)を出力する。すなわち、強制動き補償予測
マクロブロックで、動き補償を有効と判定し、かつ複数
種類存在する動き補償モード中、予め定めた特定モード
を選択する。また、動き補償部120で用いるブロックマ
ッチング法については、前述のように「画像の帯域圧縮
と符号化技術(日刊工業新聞社)、p61〜P62」などに具体
的に記載されている。
In this embodiment, the motion compensating section 120 inputs an input image signal, a reproduced image from the frame memory section 116, and a forced motion compensation prediction selection signal from the synchronization pattern creation instructing section 132. When ON, motion compensation prediction is unconditionally enabled, and a frame motion vector, a frame motion compensation prediction image, and accompanying information (motion compensation prediction is valid, a frame motion vector is selected) are output by the block matching method. That is, in the forced motion compensation prediction macroblock, it is determined that the motion compensation is valid, and a predetermined specific mode is selected from among a plurality of types of motion compensation modes. Further, the block matching method used in the motion compensating unit 120 is specifically described in “Band Compression and Coding Techniques for Images (Nikkan Kogyo Shimbun), pp. 61-62” as described above.

【0032】動き補償部120は、強制動き補償予測選択
信号がOFFの時、第1ステップとして、ブロックマッチ
ング法でフレーム動きベクトル、フィールド動きベクト
ルを求め、いずれの動きベクトルがブロックマッチング
法で評価値が良いかを判定する。第2ステップとして、
動き補償予測画像と、動き補償予測前の(動き量を0と
した場合)予測画像のいずれかが符号化効率が良好かを
入力画像信号との差分絶対値和によって判定する。第3
ステップとして、判定結果を反映した予測画像をスイッ
チ部(No.1)102とinter/intra判定部100へ出力し、動き
補償の付随情報(動き補償予測の有効/無効、フレーム動
ベクトル/フィールド動ベクトル判定結果、フィールド
動ベクトルの場合には参照画像はtop fieldかbottomFie
ldかの区別を示す)をVLC部108へ出力し、処理終了トリ
ガをマクロブロックカウント部130へ出力する。
When the compulsory motion compensation prediction selection signal is OFF, the motion compensation unit 120 obtains a frame motion vector and a field motion vector by a block matching method as a first step. Is good. As a second step,
Either the motion-compensated predicted image or the predicted image before motion-compensated prediction (when the motion amount is set to 0) has a good coding efficiency based on the sum of absolute differences between the input image signal and the input image signal. Third
As a step, a predicted image reflecting the determination result is output to the switch unit (No. 1) 102 and the inter / intra determination unit 100, and the accompanying information of motion compensation (valid / invalid of motion compensation prediction, frame motion vector / field motion If the vector judgment result is a field motion vector, the reference image is the top field or bottomFie
is output to the VLC unit 108, and a processing end trigger is output to the macroblock counting unit 130.

【0033】[第3の実施の形態]本発明の第3の実施
の形態の動画像符号化装置の構成は、第1の実施の形態
と概ね同様であるため、図1を用いて説明する。これは
第1の実施形態とは、参照画像を動き補償して予測画像
とする対象の強制動き補償予測マクロブロックで、動き
補償を有効と判定し、かつ動き量を0とする動き補償部
120を設けた点が相違している。この構成によれば、一
定マクロブロック毎に動き補償が有効、かつ動きベクト
ルが0のマクロブロックが符号化されるので、画像再生
時にビット誤りが発生し、誤り位置から可変長符号の誤
った復号を開始した場合においても、強制動き補償予測
マクロブロックで、動き補償有効かつ動ベクトルが0で
はないビット列が受信され、ビット誤りを検出すること
ができるので、可変長符号の誤ったデコードによる映像
の乱れを局在化することが可能なビット列を出力するこ
とができるという効果も得られる。また、動きが少ない
入力画像についても、強制動き補償予測マクロブロック
では、動きベクト動き補償部ルを0とするので、画質劣
化を発生させずに、同期パターンをビット列に挿入する
ことができるという効果も得られる。
[Third Embodiment] The configuration of a moving picture coding apparatus according to a third embodiment of the present invention is substantially the same as that of the first embodiment, and will be described with reference to FIG. . This is different from the first embodiment in that a motion compensation unit that determines that motion compensation is valid and sets a motion amount to 0 is a forced motion compensation prediction macroblock to be used as a prediction image by performing motion compensation on a reference image.
The point that 120 is provided is different. According to this configuration, a macroblock having motion compensation enabled for each fixed macroblock and having a motion vector of 0 is encoded. Therefore, a bit error occurs during image reproduction, and an erroneous decoding of a variable length code is performed from an error position. Is started, a bit string in which the motion compensation is valid and the motion vector is not 0 is received in the forced motion compensation prediction macroblock, and a bit error can be detected. There is also obtained an effect that a bit string capable of localizing disturbance can be output. In addition, even for an input image having little motion, the motion vector motion compensation unit is set to 0 in the forced motion compensation prediction macroblock, so that the synchronization pattern can be inserted into the bit string without deteriorating the image quality. Is also obtained.

【0034】本実施形態においては、動き補償部120が
入力画像信号、フレームメモリ部116から再生画像、同
期パターン作成指示部132から強制動き補償予測選択信
号を入力し、強制動き補償予測選択信号がONの時は無条
件で動き補償予測を有効とし、動きベクトルを0とし、
動きベクトルを0とした予測画像、付随情報(動き補償
予測は有効)を出力する。また、強制動き補償予測選択
信号がOFFの時は、第1ステップとして、ブロックマッ
チング法でフレーム動きベクトル、フィールド動きベク
トルを求め、いずれの動きベクトルがブロックマッチン
グ法で評価値が良いかを判定する。第2ステップとし
て、動き補償予測画像と、動き補償予測前の(動き量を
0とした場合)予測画像のいずれかが符号化効率が良好
かを入力画像信号との差分絶対値和によって判定する。
第3ステップとして、判定結果を反映した予測画像をス
イッチ部(No.1)102とinter/intra判定部100へ出力し、
動き補償の付随情報(動き補償予測の有効/無効、フレー
ム動きベクトル/フィールド動きベクトル判定結果、フ
ィールド動きベクトルの場合には参照画像はtop field
かbottomFieldかの区別を示す)をVLC部108へ出力し、処
理終了トリガをマクロブロックカウント部130へ出力す
る。
In this embodiment, the motion compensating section 120 inputs an input image signal, a reproduced image from the frame memory section 116, and a forced motion compensation prediction selection signal from the synchronization pattern creation instructing section 132. When ON, the motion compensation prediction is unconditionally enabled, the motion vector is set to 0,
A predicted image with the motion vector set to 0 and accompanying information (motion compensated prediction is valid) are output. When the forced motion compensation prediction selection signal is OFF, as a first step, a frame motion vector and a field motion vector are obtained by a block matching method, and it is determined which of the motion vectors has a good evaluation value by the block matching method. . As a second step, it is determined whether any one of the motion-compensated predicted image and the predicted image before the motion-compensated prediction (when the motion amount is set to 0) has a good coding efficiency by a sum of absolute differences between the input image signal and the input image signal. .
As a third step, a predicted image reflecting the determination result is output to the switch unit (No. 1) 102 and the inter / intra determination unit 100,
Additional information of motion compensation (valid / invalid of motion compensation prediction, frame motion vector / field motion vector judgment result, in case of field motion vector, reference image is top field
Is output to the VLC unit 108, and a processing end trigger is output to the macroblock counting unit 130.

【0035】[第4の実施の形態]図2は本発明の第4
の実施の形態の動画像符号化装置の構成を示す。本実施
形態の構成・動作は、動き補償部120、inter/intra判定
部100、同期パターン作成指示部132を除き、第1の実施
の形態と概ね同様であるため、同一構成には同一符号を
付与して説明を省略する。これは第1の実施形態とは、
同期マクロブロックの挿入指示を入力すると、無条件で
フレーム内符号化を施すための強制フレーム内符号化選
択信号をonとする同期パターン作成指示部132と、無条
件でフレーム内符号化を施す対象の強制フレーム内符号
化マクロブロックで、フレーム内符号化を選択するinte
r/intra判定部100とを設けた点が相違している。この構
成によれば、一定マクロブロック毎にフレーム内符号化
マクロブロックが符号化されるので、画像再生時にビッ
ト誤りが発生し、誤り位置から可変長符号の誤った復号
を開始した場合においても、強制フレーム内符号化マク
ロブロックで、フレーム内符号化マクロブロック以外の
ビット列が受信され、ビット誤りを検出することができ
るので、可変長符号の誤ったデコードによる映像の乱れ
を局在化することが可能なビット列を出力することがで
きるという効果も得られる。また、一定マクロブロック
毎にフレーム内符号化マクロブロックが挿入されるの
で、エラー伝播によるミスマッチ(符号化装置と復号化
装置で内部に保持している再生画像が異なる)がリセッ
トされる利点も挙げることができるという効果も得られ
る。
[Fourth Embodiment] FIG. 2 shows a fourth embodiment of the present invention.
1 shows a configuration of a moving image encoding device according to an embodiment. The configuration and operation of this embodiment are substantially the same as those of the first embodiment except for the motion compensation unit 120, the inter / intra determination unit 100, and the synchronization pattern creation instruction unit 132. The description is omitted here. This is the first embodiment,
When a synchronization macroblock insertion instruction is input, a synchronization pattern creation instructing unit 132 that turns on a forced intra-frame encoding selection signal for unconditionally performing intra-frame encoding, and a target for unconditionally performing intra-frame encoding Integer to select intra-frame coding in forced intra-frame macroblock of
The difference is that an r / intra determination unit 100 is provided. According to this configuration, since the intra-coded macroblock is encoded for each fixed macroblock, even when a bit error occurs during image reproduction and erroneous decoding of the variable-length code is started from the error position, In the forced intra-coded macroblock, a bit string other than the intra-coded macroblock is received, and a bit error can be detected. The effect that a possible bit string can be output is also obtained. In addition, since an intra-frame coded macroblock is inserted for each fixed macroblock, there is an advantage that a mismatch due to error propagation (reproduced images held internally in the encoding device and the decoding device are different) is reset. The effect that it can be obtained is also obtained.

【0036】図2において、動き補償部120は、第1ス
テップとして、ブロックマッチング法により動きベクト
ル、動き補償予測画像、動き補償予測の付随情報を求め
る。第2ステップとして、動き補償予測画像と、動き補
償予測前の(動き量を0とした場合)予測画像のいずれか
が符号化効率が良好かを入力画像信号との差分絶対値和
によって判定する。第3ステップとして、判定結果を反
映した予測画像をスイッチ部(No.1)102とinter/intra判
定部100へ出力し、動き補償の付随情報をVLC部108へ出
力し、さらに処理終了トリガをマクロブロックカウント
部130へ出力する。
In FIG. 2, as a first step, the motion compensation unit 120 obtains a motion vector, a motion-compensated predicted image, and accompanying information of the motion-compensated predicted by a block matching method. As a second step, it is determined whether any one of the motion-compensated predicted image and the predicted image before the motion-compensated prediction (when the motion amount is set to 0) has a good coding efficiency by a sum of absolute differences between the input image signal and the input image signal. . As a third step, a predicted image reflecting the determination result is output to the switch unit (No. 1) 102 and the inter / intra determination unit 100, the accompanying information of the motion compensation is output to the VLC unit 108, and a processing end trigger is output. Output to macro block counting section 130.

【0037】同期パターン作成指示部132は、マクロブ
ロックカウント部が同期パターン作成を指示している場
合は強制フレーム内符号化選択信号ONをinter/intra判
定部100へ出力し、同期パターン作成指示入力時以外は
強制フレーム内符号化選択信号(OFF)をinter/intra判
定部100へ出力する。
When the macroblock counting unit instructs to create a synchronization pattern, the synchronization pattern creation instructing unit 132 outputs a forced intra-frame coding selection signal ON to the inter / intra determination unit 100, and inputs a synchronization pattern creation instruction. At other times, the forced intra-frame encoding selection signal (OFF) is output to the inter / intra determination unit 100.

【0038】inter/intra判定部100は、マクロブロック
単位で入力される入力画像信号と、動き補償部120が出
力した動き補償予測画像と、同期パターン作成指示部が
出力した強制フレーム内符号化選択信号を入力し、強制
フレーム内符号化選択信号(ON)入力時は無条件でフレ
ーム内符号化を選択し、強制フレーム内符号化選択信号
(OFF)入力時は入力画像信号の分散値と、入力画像信
号と動き補償予測画像の差分自乗和を算出し、差分自乗
和が小さければフレーム間予測符号化(inter)を選択
し、等しいか大きければフレーム内符号化(intra)を選
択し、結果をVLC部108、スイッチ部(No.1)102、スイッ
チ部(No.2)118へ出力する。また、inter/intra判定部10
0は、処理終了トリガをマクロブロックカウント部130へ
出力する。
The inter / intra determination unit 100 includes an input image signal input in units of macroblocks, a motion-compensated prediction image output by the motion compensation unit 120, and a forced intra-frame encoding selection output by the synchronization pattern creation instruction unit. When the signal is input and the forced intra-frame coding selection signal (ON) is input, the intra-frame coding is unconditionally selected. When the forced intra-frame coding selection signal (OFF) is input, the variance value of the input image signal and Calculate the sum of squared differences between the input image signal and the motion-compensated predicted image.If the sum of squared differences is small, select inter-frame predictive coding (inter) .If equal or greater, select intra-frame coding (intra). To the VLC unit 108, the switch unit (No. 1) 102, and the switch unit (No. 2) 118. Also, the inter / intra determination unit 10
A value of 0 outputs a processing end trigger to the macroblock counting unit 130.

【0039】このように、本実施形態における動き補償
部120の動作は、第1の実施の形態の動き補償部120の機
能から、強制動き補償予測入力時に強制動き補償を実行
する機能を削除したものである。
As described above, the operation of the motion compensator 120 in the present embodiment is different from the function of the motion compensator 120 in the first embodiment in that the function of executing the forced motion compensation at the time of the forced motion compensation prediction input is deleted. Things.

【0040】[第5の実施の形態]図3は本発明の第5
の実施の形態の動画像符号化装置の構成を示す。本実施
形態の構成・動作は、動き補償部120、直交変換部104、
同期パターン作成指示部132を除き、第1の実施の形態
と概ね同様であるため、同一構成には同一符号を付与し
て説明を省略する。これは第1の実施形態とは、同期マ
クロブロックの挿入指示を入力すると、フレーム構造で
離散コサイン変換するための強制フレームDCT選択信号
をONとする同期パターン作成指示部132と、前記強制フ
レームDCT選択信号がONの時には、無条件でフレーム離
散コサイン変換を選択して直交変換する直交変換部104
とを設けた点が相違している。この構成によれば、一定
マクロブロック毎にフレームDCTが選択されたマクロブ
ロックが符号化されるので、画像再生時にビット誤りが
発生し、誤り位置から可変長符号の誤った復号を開始し
た場合においても、強制フレームDCT選択マクロブロッ
クで、フレームDCTマクロブロック以外のビット列が受
信され、ビット誤りを検出することができるので、可変
長符号の誤ったデコードによる映像の乱れを局在化する
ことが可能なビット列を出力することができるという効
果も得られる。また、アニメーション画像のように元来
インターレース信号でないマクロブロックでは、強制的
にフレームDCTをおこなっても符号化効率を低下させる
ことなく、同期パターンを挿入することができるという
効果も得られる。
[Fifth Embodiment] FIG. 3 shows a fifth embodiment of the present invention.
1 shows a configuration of a moving image encoding device according to an embodiment. The configuration and operation of the present embodiment include a motion compensation unit 120, an orthogonal transformation unit 104,
Except for the synchronization pattern creation instructing unit 132, the configuration is substantially the same as that of the first embodiment. This is different from the first embodiment in that when a synchronous macroblock insertion instruction is input, a synchronous pattern creation instructing unit 132 that turns on a forced frame DCT selection signal for performing discrete cosine transform in a frame structure, When the selection signal is ON, the orthogonal transform unit 104 unconditionally selects the frame discrete cosine transform and performs the orthogonal transform.
Are provided. According to this configuration, the macroblock in which the frame DCT is selected for each fixed macroblock is encoded, so that a bit error occurs during image reproduction, and erroneous decoding of the variable-length code is started from the error position. Also, in the forced frame DCT selection macroblock, bit strings other than frame DCT macroblock are received and bit errors can be detected, so it is possible to localize video disturbance due to erroneous decoding of variable length code Also, an effect that a simple bit string can be output can be obtained. Also, in a macroblock that is not originally an interlace signal, such as an animation image, an effect is obtained that a synchronization pattern can be inserted without lowering the coding efficiency even if frame DCT is forcibly performed.

【0041】図3において、動き補償部120は、第1ス
テップとして、ブロックマッチング法により動きベクト
ル、動き補償予測画像、動き補償予測の付随情報を求め
る。第2ステップとして、動き補償予測画像と、動き補
償予測前の(動き量を0とした場合)予測画像のいずれか
が符号化効率が良好かを入力画像信号との差分絶対値和
によって判定する。第3ステップとして、判定結果を反
映した予測画像をスイッチ部(No.1)102とinter/intra判
定部100へ出力し、動き補償の付随情報をVLC部108へ出
力する。
In FIG. 3, as a first step, the motion compensation unit 120 obtains a motion vector, a motion-compensated predicted image, and accompanying information of the motion-compensated predicted by a block matching method. As a second step, it is determined whether any one of the motion-compensated predicted image and the predicted image before the motion-compensated prediction (when the motion amount is set to 0) has a good coding efficiency by a sum of absolute differences between the input image signal and the input image signal. . As a third step, the prediction image reflecting the determination result is output to the switch unit (No. 1) 102 and the inter / intra determination unit 100, and the accompanying information of the motion compensation is output to the VLC unit 108.

【0042】同期パターン作成指示部132は、マクロブ
ロックカウント部130が同期パターン作成を指示してい
る場合は強制フレームDCT選択信号(ON)を直交変換部1
04へ出力し、同期パターン作成指示入力時以外は強制フ
レームDCT選択信号(OFF)を直交変換部104へ出力す
る。
The synchronization pattern creation instructing section 132 outputs the forced frame DCT selection signal (ON) to the orthogonal transformation section 1 when the macroblock counting section 130 instructs the synchronization pattern creation.
04, and outputs a forced frame DCT selection signal (OFF) to the orthogonal transform unit 104 except when a synchronization pattern creation instruction is input.

【0043】直交変換部104は、同期パターン作成指示
部132が出力した強制フレームDCT選択信号がONの場合は
無条件でフレーム内DCTを選択してDCT変換を実行し、強
制フレームDCT選択信号がOFFの場合はフレーム構造でDC
T(離散コサイン変換)するか、フィールド構造に分割し
てDCTするかを隣接ライン間相関と、1ライン毎の相関の
大小により判定して、結果をVLC部108へ出力するととも
に、DCT変換を実行して直交変換係数を出力する。さら
に、直交変換部104は、処理終了トリガをマクロブロッ
クカウント部130へ出力する。
When the forced frame DCT selection signal output from the synchronization pattern creation instructing unit 132 is ON, the orthogonal transform unit 104 unconditionally selects a DCT within the frame and performs DCT conversion. When OFF, DC is used in the frame structure
T (discrete cosine transform) or DCT by dividing into a field structure is determined based on the correlation between adjacent lines and the magnitude of the correlation for each line, and the result is output to the VLC unit 108, and the DCT transform is performed. Execute to output orthogonal transform coefficients. Further, orthogonal transform section 104 outputs a processing end trigger to macroblock counting section 130.

【0044】このように、本実施形態の動き補償部120
の動作は、第1の実施の形態の動き補償部120の機能か
ら、強制動き補償予測入力時に強制動き補償とする機能
を削除したものである。
As described above, the motion compensation unit 120 according to the present embodiment
The operation of is obtained by removing the function of the forced motion compensation at the time of inputting the forced motion compensation prediction from the function of the motion compensation unit 120 of the first embodiment.

【0045】[第6の実施の形態]図4は本発明の第6
の実施の形態の動画像符号化装置の構成を示す。本実施
形態の構成・動作は、動き補償部120、直交変換部104、
同期パターン作成指示部132を除き、第1の実施の形態
と概ね同様であるため、同一構成には同一符号を付与し
て説明を省略する。これは第1の実施形態とは、同期マ
クロブロックの挿入指示を入力すると、固定量子化幅
(予め設定された量子化幅)を出力する同期パターン作
成指示部132を設けた点が相違している。この構成によ
れば、一定マクロブロック毎に一定の量子化幅で量子化
されたマクロブロックが符号化されるので、画像再生時
にビット誤りが発生し、誤り位置から可変長符号の誤っ
た復号を開始した場合においても、同期パターン作成指
示マクロブロックで固定量子化幅以外のビット列が受信
され、ビット誤りを検出することができるので、可変長
符号の誤ったデコードによる映像の乱れを局在化するこ
とが可能なビット列を出力することができるという効果
も得られる。また、通常量子化幅は5ビット程度の符号
長が用いられるので、ビット誤りが発生した場合に偶然
5ビットとも固定量子化幅に一致してしまうことによる
エラー検出漏れの確率は低く、着実にエラーを検出する
ことができるという効果も得られる。
[Sixth Embodiment] FIG. 4 shows a sixth embodiment of the present invention.
1 shows a configuration of a moving image encoding device according to an embodiment. The configuration and operation of the present embodiment include a motion compensation unit 120, an orthogonal transformation unit 104,
Except for the synchronization pattern creation instructing unit 132, the configuration is substantially the same as that of the first embodiment. This is different from the first embodiment in that a synchronization pattern creation instructing unit 132 that outputs a fixed quantization width (a preset quantization width) when a synchronization macroblock insertion instruction is input is provided. I have. According to this configuration, since a macroblock quantized with a fixed quantization width is encoded for each fixed macroblock, a bit error occurs at the time of image reproduction, and erroneous decoding of a variable length code is performed from an error position. Even in the case of starting, since a bit string other than the fixed quantization width is received by the synchronization pattern creation instruction macro block and a bit error can be detected, video disturbance due to erroneous decoding of a variable length code is localized. Also, an effect that a bit string that can be output can be obtained. Further, since a code length of about 5 bits is usually used for the quantization width, when a bit error occurs, the probability of error detection omission due to coincidence of 5 bits with the fixed quantization width by chance is low, and it is steady. The effect that an error can be detected is also obtained.

【0046】図4において、動き補償部120は、第1ス
テップとして、ブロックマッチング法により動きベクト
ル、動き補償予測画像、動き補償予測の付随情報を求め
る。第2ステップとして、動き補償予測画像と、動き補
償予測前の(動き量を0とした場合)予測画像のいずれか
が符号化効率が良好かを入力画像信号との差分絶対値和
によって判定する。第3ステップとして、判定結果を反
映した予測画像をスイッチ部(No.1)102とinter/intra判
定部100へ出力し、動き補償の付随情報をVLC部108へ出
力する。
In FIG. 4, as a first step, the motion compensating unit 120 obtains a motion vector, a motion-compensated predicted image, and accompanying information of the motion-compensated predicted by a block matching method. As a second step, it is determined whether any one of the motion-compensated predicted image and the predicted image before the motion-compensated prediction (when the motion amount is set to 0) has a good coding efficiency by a sum of absolute differences between the input image signal and the input image signal. . As a third step, the prediction image reflecting the determination result is output to the switch unit (No. 1) 102 and the inter / intra determination unit 100, and the accompanying information of the motion compensation is output to the VLC unit 108.

【0047】同期パターン作成指示部132は、マクロブ
ロックカウント部130が同期パターン作成を指示してい
る場合は予め定めた量子化幅を量子化部106とVLC部108
へ出力し、同期パターン作成指示入力時以外はバッファ
部110が出力した量子化幅を量子化部106とVLC部108へ出
力する。
When the macroblock counting unit 130 instructs the synchronization pattern creation, the synchronization pattern creation instructing unit 132 sets the predetermined quantization width to the quantization unit 106 and the VLC unit 108.
And outputs the quantization width output from the buffer unit 110 to the quantization unit 106 and the VLC unit 108 except when the synchronization pattern creation instruction is input.

【0048】このように、本実施形態の動き補償部120
の動作は、第1の実施形態の動き補償部120の機能か
ら、強制動き補償予測入力時に強制動き補償とする機能
を削除したものである。
As described above, the motion compensator 120 of the present embodiment
The operation of (1) is obtained by removing the function of performing the forced motion compensation at the time of inputting the forced motion compensation prediction from the function of the motion compensation unit 120 of the first embodiment.

【0049】[第7の実施の形態]図5に示すように、
本発明の第7の実施の形態の動画像伝送装置は、第1〜
第6の実施の形態の動画像符号化装置と、同期マクロブ
ロック判定部240、同期パターンチェック部250、動き補
償部210、スイッチ部200、加算部205を含む動画像復号
化装置と、前記動画像符号化装置と前記動画像復号化装
置を結ぶネットワークI/F140、150とを設け、同期パタ
ーン異常時は、前フレームの同一場所の画像を再度出力
するようにしたものである。この構成によれば、伝送路
でビット誤りが発生し、誤り位置から可変長符号の誤っ
た復号を開始した場合においても、同期パターン作成マ
クロブロックで、同期パターン以外のビット列が受信さ
れることにより、ビット誤りを検出することができると
いう効果も得られる。ビット誤りを検出した場合は、動
き補償部210とスイッチ部200によって参照画像と同一の
映像を出力することにより、可変長符号の誤ったデコー
ドによる映像の乱れを局在化した映像をモニタへ出力す
ることができるという効果も得られる。
[Seventh Embodiment] As shown in FIG.
A moving image transmission device according to a seventh embodiment of the present invention
A video encoding device according to the sixth embodiment, a video decoding device including a synchronous macroblock determining unit 240, a synchronous pattern checking unit 250, a motion compensating unit 210, a switch unit 200, and an adding unit 205; Network I / Fs 140 and 150 connecting the image encoding device and the video decoding device are provided, and when a synchronization pattern is abnormal, an image at the same location of the previous frame is output again. According to this configuration, even when a bit error occurs in the transmission path and erroneous decoding of the variable length code is started from the error position, a bit string other than the synchronization pattern is received by the synchronization pattern creation macro block. , Bit errors can be detected. If a bit error is detected, the same video as the reference image is output by the motion compensation unit 210 and the switch unit 200, and a video in which the disturbance of the video due to erroneous decoding of the variable length code is localized is output to the monitor. The effect of being able to do so is also obtained.

【0050】図5において、動画像符号化装置側のネッ
トワークI/F部140は、復号化装置側からの送信ビット列
を入力し、ネットワーク部が要求する信号を構築してネ
ットワークにビット列を出力する。なお、本実施形態の
動画像符号化装置の構成・動作は、ネットワークI/F部1
40を除き、第1の実施の形態と同様であるため、同一構
成には同一符号を付与して説明を省略する。
In FIG. 5, a network I / F section 140 on the moving picture encoding apparatus side receives a transmission bit string from the decoding apparatus side, constructs a signal required by the network section, and outputs a bit string to the network. . Note that the configuration and operation of the video encoding device of the present embodiment are the same as those of the network I / F unit 1.
Since the configuration is the same as that of the first embodiment except for 40, the same components are denoted by the same reference numerals and description thereof is omitted.

【0051】一方、動画像復号化装置側のネットワーク
I/F部150は、ネットワークより入力した信号から受信ビ
ット列を構築する。バッファ部160は、入力ビット列を
一旦蓄積してVLD部170が要求するタイミングでマクロブ
ロック毎に出力する。VLD部170は、ビット列をデコード
し、inter/intra判定結果、動き補償付随情報、量子化
幅、量子化直交変換係数を出力する。逆量子化部180
は、逆量子化を行って量子化誤差を含んだ逆量子化直交
変換係数を出力する。逆直交変換部190は、逆直交変換
して逆直交変換係数を出力する。フレームメモリ部220
は、量子化ノイズを含む再生画像を蓄積する。動き補償
部210は、参照画像とストリームエラー情報、動き補償
付随情報を入力し動き補償予測画像を作成して出力す
る。スイッチ部200は、inter/intra判定結果、ストリー
ムエラー情報を入力して参照画像を出力する。モニタ部
230は、デコード結果を出力する。同期マクロブロック
判定部240は、一定数のマクロブロック毎に挿入された
強制的動き補償予測マクロブロックかを判定する。同期
パターンチェック部250は、動き補償有効/無効と、強制
動き補償予測マクロブロック判定からストリームエラー
を検出する。
On the other hand, the network on the video decoding device side
The I / F section 150 constructs a reception bit string from a signal input from the network. The buffer unit 160 temporarily accumulates the input bit string and outputs it for each macroblock at the timing requested by the VLD unit 170. VLD section 170 decodes the bit string and outputs an inter / intra determination result, motion compensation accompanying information, quantization width, and quantized orthogonal transform coefficient. Inverse quantization unit 180
Performs inverse quantization and outputs an inversely quantized orthogonal transform coefficient including a quantization error. The inverse orthogonal transform unit 190 performs an inverse orthogonal transform and outputs an inverse orthogonal transform coefficient. Frame memory section 220
Accumulates a reproduced image including quantization noise. The motion compensation unit 210 receives the reference image, the stream error information, and the motion compensation accompanying information, and creates and outputs a motion compensation predicted image. The switch unit 200 inputs the inter / intra determination result and the stream error information and outputs a reference image. Monitor section
230 outputs the decoding result. The synchronous macroblock determining unit 240 determines whether the macroblock is a compulsory motion compensation prediction macroblock inserted for each fixed number of macroblocks. The synchronization pattern check unit 250 detects a stream error from motion compensation enable / disable and forced motion compensation prediction macroblock determination.

【0052】次に、本実施形態の動画像符号化/復号化
動作を説明する。なお、動画像符号化装置内の動作は、
ネットワークI/F140を除いて第1の実施形態と同様であ
る。
Next, the moving picture encoding / decoding operation of the present embodiment will be described. The operation in the video encoding device is as follows.
This is the same as the first embodiment except for the network I / F 140.

【0053】ネットワークI/F140は、バッファ部110よ
り入力マクロブロックの符号化結果であるビット列を入
力し、ネットワークの要求仕様に定めたパケットを構築
してネットワークへ転送する。ここで、IEEE.1394ネッ
トワークを想定した場合、ネットワークとパケットの具
体例は、例えば「IEEE1394 ディジタル時代の高速イン
タフェース、日経エレクトロニクスセミナ 特別別冊」
に記載されている。
The network I / F 140 receives a bit string as an encoding result of the input macroblock from the buffer unit 110, constructs a packet defined in the required specifications of the network, and transfers the packet to the network. Here, assuming an IEEE.1394 network, a specific example of a network and a packet is, for example, "High-speed interface in IEEE1394 digital age, Nikkei Electronics Seminar Special Supplement"
It is described in.

【0054】ネットワークI/F150は、ネットワークより
パケット毎に伝送されてくるビット列を取り出し、バッ
ファ部160へ出力する。バッファ部160は、入力ビット列
を内部へ蓄積するとともに、VLD部へマクロブロック単
位でビット列を出力する。VLD部170は、ビット列をマク
ロブロック単位で入力し、可変長符号テーブルにしたが
ってデコードし、動き補償有効/無効を動き補償部210と
同期パターンチェック部250へ、動き補償予測付随情報
(フレーム動ベクトル/フィールド動ベクトル判定結果、
フィールド動ベクトルの場合には参照画像はtop field
かbottomFieldかの区別を示す)を動き補償部210へ、int
er/intra判定をスイッチ部200へ、量子化直交変換係数
と量子化幅を逆量子化部180へ、マクロブロック処理終
了トリガを同期マクロブロック判定部240へそれぞれ出
力する。逆量子化部180は、VLD部170から入力した量子
化幅で、量子化直交変換係数を逆量子化し、逆量子化直
交変換係数を逆直交変換部190へ出力する。逆直交変換
部190は、逆量子化直交変換係数を逆直交変換して、逆
直交変換係数を加算器へ出力する。また、逆直交変換部
190が出力する逆直交変換係数は、フレーム内符号化マ
クロブロック(intra)の場合は量子化誤差を含む入力画
像信号であり、フレーム間予測符号化マクロブロック(i
nter)の場合は量子化誤差を含む予測差分信号である。
加算器205へは、VLD部が出力するinter/intra結果によ
って、それぞれ予測画像、固定値0が入力されるので、
加算器205の出力は量子化誤差を含む再生マクロブロッ
クであり、フレームメモリ部220へ出力される。同期マ
クロブロック判定部240は、マクロブロック処理終了ト
リガを入力し、入力マクロブロックが一定マクロブロッ
ク毎に挿入される強制動き補償予測マクロブロックか否
かを判定し、結果を同期パターンチェック部250へ出力
する。同期パターンチェック部250は、同期マクロブロ
ック判定部240の出力が強制動き補償予測マクロブロッ
クであることを示している場合であって、VLD部170から
出力される動き補償有効/無効が有効の場合は伝送エラ
ーが発生していないと判断し、無効の場合は伝送エラー
が発生していると判断し、結果を動き補償部210、スイ
ッチ部200、加算器205へ出力する。フレームメモリ部22
0は、加算器205が出力する再生画像を内部へ蓄積すると
ともに、動き補償部210とモニタ部230へ、それぞれが要
求するタイミングで出力する。
The network I / F 150 extracts a bit string transmitted from the network for each packet, and outputs it to the buffer unit 160. Buffer section 160 accumulates the input bit string internally and outputs the bit string to the VLD section in macroblock units. The VLD unit 170 inputs the bit string in units of macroblocks, decodes the bits according to the variable length code table, and determines whether motion compensation is valid / invalid to the motion compensation unit 210 and the synchronization pattern check unit 250,
(Frame motion vector / field motion vector judgment result,
In the case of a field motion vector, the reference image is top field
Or bottomField) to the motion compensation unit 210, int
The er / intra determination is output to the switch unit 200, the quantized orthogonal transform coefficient and the quantization width are output to the inverse quantization unit 180, and the macroblock processing end trigger is output to the synchronous macroblock determination unit 240. Inverse quantization section 180 inversely quantizes the quantized orthogonal transform coefficients using the quantization width input from VLD section 170, and outputs the inversely quantized orthogonal transform coefficients to inverse orthogonal transform section 190. The inverse orthogonal transform unit 190 performs an inverse orthogonal transform on the inverse quantized orthogonal transform coefficient, and outputs the inverse orthogonal transform coefficient to the adder. In addition, the inverse orthogonal transform unit
The inverse orthogonal transform coefficient output by 190 is an input image signal including a quantization error in the case of an intra-frame coded macroblock (intra), and is an inter-frame prediction coded macroblock (i
nter) is a prediction difference signal including a quantization error.
The predicted image and the fixed value 0 are input to the adder 205 based on the inter / intra result output from the VLD unit.
The output of the adder 205 is a reproduced macro block including a quantization error, and is output to the frame memory unit 220. The synchronous macroblock determining unit 240 inputs a macroblock processing end trigger, determines whether or not the input macroblock is a forced motion compensation predicted macroblock inserted for each fixed macroblock, and sends the result to the synchronous pattern checking unit 250. Output. The synchronization pattern check unit 250 is a case where the output of the synchronous macroblock determination unit 240 indicates that the macroblock is a forced motion compensation prediction macroblock, and the motion compensation valid / invalid output from the VLD unit 170 is valid. Determines that a transmission error has not occurred, and if invalid, determines that a transmission error has occurred, and outputs the result to the motion compensation unit 210, the switch unit 200, and the adder 205. Frame memory section 22
A value of 0 stores the reproduced image output by the adder 205 inside, and outputs the reproduced image to the motion compensation unit 210 and the monitor unit 230 at the timing requested by each.

【0055】動き補償部210は、フレームメモリ部220か
ら参照画像、VLD部170から動き補償予測付随情報、同期
パターンチェック部250からストリームエラー情報を入
力し、ストリームエラーが発生していない場合は、動き
補償予測付随情報にしたがって動き補償した予測画像を
出力し、ストリームエラーが発生している場合は動きを
0とした予測画像を出力する。スイッチ部200は、予測
画像、inter/intra判定結果、ストリームエラー情報を
入力し、inter/intra判定結果がintraを示し、かつスト
リームエラー情報がエラーの発生を示していない時のみ
固定値0を、それ以外の場合は動き補償部210の出力を
そのまま出力する。モニタ部230は、入力信号を表示す
る。加算器205は、ストリームエラー情報とスイッチ部2
00から予測画像と逆直交変換部190からの逆直交変換係
数を入力し、エラーが発生した場合はスイッチ部200か
らの入力をそのままフレームメモリ部220へ出力し、そ
の他の場合は逆直交変換部190の出力とスイッチ部200の
出力の加算をフレームメモリ部220へ出力する。
The motion compensation unit 210 receives the reference image from the frame memory unit 220, the motion compensation prediction accompanying information from the VLD unit 170, and the stream error information from the synchronization pattern check unit 250, and if no stream error has occurred, A predicted image subjected to motion compensation according to the motion-compensated prediction accompanying information is output. If a stream error has occurred, a predicted image with zero motion is output. The switch unit 200 inputs the predicted image, the inter / intra determination result, and the stream error information, and sets the fixed value 0 only when the inter / intra determination result indicates intra and the stream error information does not indicate that an error has occurred. Otherwise, the output of the motion compensation unit 210 is output as it is. Monitor section 230 displays the input signal. The adder 205 is configured to output the stream error information and the switch unit 2
From 00, the predicted image and the inverse orthogonal transform coefficient from the inverse orthogonal transform unit 190 are input, and if an error occurs, the input from the switch unit 200 is output to the frame memory unit 220 as it is, otherwise, the inverse orthogonal transform unit The addition of the output of 190 and the output of switch unit 200 is output to frame memory unit 220.

【0056】[第8の実施の形態]図6は本発明の第8
の実施の形態の動画像伝送装置の構成を示す。本実施形
態の動画像伝送装置の構成・動作は、マクロブロックカ
ウント部130、ネットワークI/F140、ネットワークI/F15
0、同期マクロブロック判定部240、同期パターンチェッ
ク部250を除き、第7の実施の形態と概ね同様であるた
め、同一構成には同一符号を付与して説明を省略する。
これは第7の実施形態とは、動画像復号化装置でストリ
ームエラー発生頻度を計測する同期パターンチェック部
250と、前記ストリームエラー発生頻度を前記動画像符
号化装置へ伝送するためにネットワークへ送出するネッ
トワークI/F150と、前記ストリームエラー発生頻度を前
記ネットワークより動画像符号化装置へ入力するネット
ワークI/F140と、前記ストリームエラー発生頻度が増加
した場合は、前記動画像符号化装置で前記同期マクロブ
ロックの挿入間隔を狭める一方で、前記ストリームエラ
ー発生頻度が減少した場合には、前記同期マクロブロッ
クの挿入間隔を広める同期マクロブロック判定部240、
マクロブロックカウント部130とを設けた点が相違して
いる。この構成によれば、エラー発生頻度に応じて強制
動き補償予測マクロブロック間隔が自動的に調整される
ので、適切な間隔で同期マクロブロックを挿入でき、動
きの少ない入力画像では本来不要な動き補償一定マクロ
ブロックを伝送することによる符号量の増大を低減する
ことができるという効果も得られる。
[Eighth Embodiment] FIG. 6 shows an eighth embodiment of the present invention.
1 shows a configuration of a moving image transmission device according to an embodiment. The configuration and operation of the moving image transmission apparatus of the present embodiment are performed by the macro block counting unit 130, the network I / F 140, and the network I / F 15
Except for the synchronization macroblock determination unit 240 and the synchronization pattern check unit 250, the configuration is almost the same as that of the seventh embodiment.
This is different from the seventh embodiment in that a synchronous pattern check unit that measures the frequency of occurrence of stream errors in a video decoding device
250, a network I / F 150 for sending the stream error occurrence frequency to a network for transmission to the video encoding device, and a network I / F for inputting the stream error occurrence frequency from the network to the video encoding device. F140, when the stream error occurrence frequency increases, the moving picture coding apparatus narrows the insertion interval of the synchronous macroblock, while the stream error occurrence frequency decreases, the synchronous macroblock Synchronous macroblock determination unit 240 that extends the insertion interval,
The difference is that a macro block counting unit 130 is provided. According to this configuration, the forced motion compensation prediction macroblock interval is automatically adjusted according to the error occurrence frequency, so that synchronized macroblocks can be inserted at appropriate intervals, and motion compensation that is originally unnecessary for an input image with little motion can be performed. There is also obtained an effect that an increase in the code amount due to transmission of a certain macroblock can be reduced.

【0057】図6において、同期パターンチェック部25
0は、ビットエラー発生頻度を集計し、予め定めた発生
頻度と強制動き補償予測マクロブロック間隔の関係式に
したがって、強制動き補償予測マクロブロック間隔を同
期マクロブロック判定部240とネットワークI/F150部へ
出力する。
In FIG. 6, the synchronization pattern check section 25
0 tallies the bit error occurrence frequency, and according to the relational expression between the predetermined occurrence frequency and the forced motion compensation prediction macroblock interval, sets the forced motion compensation prediction macroblock interval to the synchronous macroblock determination unit 240 and the network I / F 150 unit. Output to

【0058】同期マクロブロック判定部240は、VLD部17
0からのマクロブロック処理終了トリガと、同期パター
ンチェック部250からの強制動き補償予測マクロブロッ
ク間隔を入力し、入力マクロブロックが強制動き補償予
測マクロブロックか否かを判定し、結果を同期パターン
チェック部250へ出力する。
The synchronous macroblock determining unit 240
Input the macroblock processing end trigger from 0 and the forced motion compensation predicted macroblock interval from the synchronization pattern check unit 250, judge whether the input macroblock is the forced motion compensation predicted macroblock, and check the result for the synchronization pattern Output to the unit 250.

【0059】ネットワークI/F部150、140は、強制動き
補償予測マクロブロック間隔をマクロブロックカウント
部130へ伝送する。
The network I / F sections 150 and 140 transmit the macro block interval of the forced motion compensation prediction macro block to the macro block counting section 130.

【0060】マクロブロックカウント部130は、処理終
了トリガと、強制動き補償予測マクロブロック間隔を入
力し、指定マクロブロック間隔毎に同期パターン作成指
示部132へ同期パターン作成指示信号を出力する。
The macroblock counting unit 130 receives a processing end trigger and a forced motion compensation prediction macroblock interval, and outputs a synchronization pattern creation instruction signal to the synchronization pattern creation instruction unit 132 at each designated macroblock interval.

【0061】[第9の実施の形態]図7は本発明の第9
の実施の形態の動画像伝送装置の構成を示す。本実施形
態の動画像伝送装置の構成・動作は、動き補償部120、
ネットワークI/F部140、ネットワークI/F部150、同期マ
クロブロック判定部240、同期パターンチェック部250を
除き、第8の実施の形態と概ね同様であるため、同一構
成には同一符号を付与して説明を省略する。これは第8
の実施形態とは、動画像復号化装置でストリームエラー
が発生した画面内の水平位置、垂直位置を出力する同期
パターンチェック部250と、前記水平位置、垂直位置を
前記ネットワークへ送出するネットワークI/F部150と、
前記水平位置、垂直位置を前記動画像符号化装置へ入力
するネットワークI/F部140と、前記水平位置、垂直位置
を動き補償予測時の参照画像とすることを抑制する動き
補償部120とを設けた点が相違している。この構成によ
れば、ビットエラーが発生したマクロブロックは動き補
償予測に用いられないので、ビットエラーよって映像が
乱れ、その位置から動き補償予測を行い、映像の乱れが
空間的、時間的に拡大することを防止することができる
という効果も得られる。
[Ninth Embodiment] FIG. 7 shows a ninth embodiment of the present invention.
1 shows a configuration of a moving image transmission device according to an embodiment. The configuration and operation of the moving image transmission device of the present embodiment includes a motion compensation unit 120,
Except for the network I / F unit 140, the network I / F unit 150, the synchronization macroblock determination unit 240, and the synchronization pattern check unit 250, the configuration is almost the same as that of the eighth embodiment, and the same components are denoted by the same reference numerals. And the description is omitted. This is the eighth
And the synchronization pattern check unit 250 that outputs the horizontal position and the vertical position in the screen where the stream error has occurred in the video decoding device, and the network I / O that sends the horizontal position and the vertical position to the network. F section 150,
The network position I / F unit 140 for inputting the horizontal position and the vertical position to the video encoding device, and the motion compensation unit 120 for suppressing the horizontal position and the vertical position from being a reference image at the time of motion compensation prediction. The provided point is different. According to this configuration, the macroblock in which the bit error has occurred is not used for motion compensation prediction, so that the video is disturbed by the bit error, and motion compensation prediction is performed from that position, and the disturbance of the video is expanded spatially and temporally. This can also provide an effect that it is possible to prevent the user from doing so.

【0062】図7において、同期パターンチェック部25
0は、ビットエラーが発生したマクロブロックの空間的
位置(ストリームエラーが発生した画面内の水平位置、
垂直位置)をネットワークI/F150部へ出力する。
In FIG. 7, the synchronization pattern check section 25
0 is the spatial position of the macroblock where the bit error occurred (the horizontal position in the screen where the stream error occurred,
(Vertical position) to the network I / F 150.

【0063】ネットワークI/F部150、140は、ビットエ
ラー発生マクロブロックの空間的位置を動き補償部120
へ伝送する。
Network I / F sections 150 and 140 determine the spatial position of the bit error-occurring macroblock by motion compensating section 120.
Transmit to

【0064】補償部120は、ビットエラー発生位置を動
き補償予測のための動きベクトル探索範囲から除外して
動きベクトルを求める。
The compensator 120 obtains a motion vector by excluding the bit error occurrence position from the motion vector search range for motion compensation prediction.

【0065】[第10の実施の形態]本発明の第10の
実施の形態の動画像伝送装置の構成は、動き補償部12
0、ネットワークI/F部140、ネットワークI/F部150、同
期パターンチェック部250を除き、第9の実施の形態と
概ね同様であるため、図7を用いて説明する。これは第
9の実施形態とは、動画像復号化装置のストリームエラ
ー発生頻度が上昇した場合は、動画像符号化装置で動き
補償予測するブロック比率を減少させる一方で、前記ス
トリームエラー発生頻度が下降した場合には、動き補償
予測するブロック比率を増加させる動き補償部120を設
けた点が相違している。この構成によれば、ビットエラ
ー発生頻度が大きい場合は動き補償予測マクロブロック
が減少し、ビットエラーよって映像が乱れ、その位置か
ら動き補償予測を行い、映像の乱れが空間的、時間的に
拡大することを防止することができるという効果が得ら
れる。
[Tenth Embodiment] A moving picture transmission apparatus according to a tenth embodiment of the present invention has
0, except for the network I / F unit 140, the network I / F unit 150, and the synchronization pattern check unit 250, which are almost the same as those in the ninth embodiment, and will be described with reference to FIG. This is different from the ninth embodiment in that, when the stream error occurrence frequency of the video decoding device increases, the block error ratio for which motion compensation prediction is performed by the video encoding device is reduced, while the stream error occurrence frequency is reduced. The difference is that a motion compensating unit 120 that increases the block ratio for motion compensation prediction when the motion compensating unit is lowered is provided. According to this configuration, when the frequency of occurrence of bit errors is high, the number of motion-compensated prediction macroblocks is reduced, the video is disturbed by the bit error, and motion compensation prediction is performed from that position, and the disturbance of the video is expanded spatially and temporally. The effect that it can be prevented from being performed can be obtained.

【0066】同期パターンチェック部250は、ビットエ
ラーが発生したマクロブロックの発生頻度を集計してネ
ットワークI/F150部へ出力する。
The synchronization pattern check section 250 counts the frequency of occurrence of a macroblock in which a bit error has occurred, and outputs the result to the network I / F 150.

【0067】ネットワークI/F部150、140は、ビットエ
ラー発生マクロブロックの発生頻度を動き補償部120へ
伝送する。
The network I / F sections 150 and 140 transmit the frequency of occurrence of the bit error-occurring macroblock to the motion compensation section 120.

【0068】動き補償部120は、予め定めたビットエラ
ー発生頻度と動き補償予測マクロブロック選択割合の関
係式から、動き補償予測有効/無効の判定アルゴリズム
を変更し、エラー発生頻度が大きい場合は動き補償予測
有効を選択するマクロブロック数が小さくなるようにす
る。具体的には、動き補償有効/無効のそれぞれの予測
差分絶対値和の小さい方を選択するアルゴリズムから、
「動き補償有効の場合の予測差分絶対値和」の1.5倍
と、「動き補償無効の場合の予測差分絶対値和」とを比
較し、前者が小さい場合は動き補償予測を有効とし、そ
うでない場合は動き補償予測を無効と判定するアルゴリ
ズムに変更することで、動き補償予測マクロブロックが
選択されにくくなる例を挙げることができる。
The motion compensating unit 120 changes the algorithm for determining whether motion compensation prediction is valid or invalid from the relational expression between the predetermined bit error frequency and the motion compensation prediction macroblock selection ratio. The number of macroblocks for selecting the effective compensation prediction is reduced. Specifically, from the algorithm that selects the smaller of the sum of the absolute values of the prediction differences for each of the motion compensation enable / disable,
1.5 times the "sum of predicted difference absolute values when motion compensation is enabled" is compared with the "sum of predicted difference absolute values when motion compensation is disabled". If the former is small, the motion compensation prediction is enabled; otherwise, In such a case, an example in which the motion compensation prediction macroblock is difficult to be selected by changing the algorithm to determine that the motion compensation prediction is invalid can be given.

【0069】[第11の実施の形態]図8に示すよう
に、本発明の第11の実施の形態の動画像伝送記録装置
は、第7の実施の形態の動画像伝送装置と画像記録装置
260とを設けたものである。この構成によれば、ビット
エラーが発生しても良好な画質の映像を遠隔値で表示
し、かつ記録することができ、映像記録を必要とする各
種店舗監視用のセキュリティシステムを構成することが
できるという効果も得られる。
[Eleventh Embodiment] As shown in FIG. 8, a moving image transmission and recording apparatus according to an eleventh embodiment of the present invention comprises a moving image transmission apparatus and an image recording apparatus according to the seventh embodiment.
260. According to this configuration, even if a bit error occurs, a video of good image quality can be displayed and recorded at a remote value, and a security system for monitoring various stores that requires video recording can be configured. The effect that can be obtained is also obtained.

【0070】図8において、動画像伝送装置400には、
動画像符号化装置200と動画像復号化装置300を備え、さ
らに画像記録装置260と接続されている。この画像記録
装置260は、動画像符号化装置200からネットワークを経
由して伝送された動画像を記録する。具体例としては、
民生用VHSビデオデッキ、DVDレコーダ等を挙げることが
できる。
In FIG. 8, a moving image transmitting apparatus 400 includes:
It comprises a moving picture coding apparatus 200 and a moving picture decoding apparatus 300, and is further connected to an image recording apparatus 260. The image recording device 260 records a moving image transmitted from the moving image encoding device 200 via a network. As a specific example,
Consumer VHS video decks, DVD recorders and the like can be mentioned.

【0071】[第12の実施の形態]本発明の第12の
実施の形態の動画像伝送装置は、第11の実施の形態
(図8)とは、動画像伝送装置400を第8の実施の形態
(図6)の構成とした点が相違している。この構成によ
れば、ビットエラーが発生しても良好な画質の映像を遠
隔値で表示し、かつ記録することができ、映像記録を必
要とする各種店舗監視用のセキュリティシステムを構成
することができるという効果も得られる。
[Twelfth Embodiment] A moving image transmission apparatus according to a twelfth embodiment of the present invention is different from the eleventh embodiment (FIG. 8) in that the moving image transmission apparatus 400 is replaced by an eighth embodiment. (FIG. 6). According to this configuration, even if a bit error occurs, a video of good image quality can be displayed and recorded at a remote value, and a security system for monitoring various stores that requires video recording can be configured. The effect that can be obtained is also obtained.

【0072】[第13の実施の形態]本発明の第13の
実施の形態の動画像伝送装置は、第12の実施の形態
(図8)とは、動画像伝送装置400を第9の実施の形態
(図7)の構成とした点が相違している。この構成によ
れば、ビットエラーが発生しても良好な画質の映像を遠
隔値で表示し、かつ記録することができ、映像記録を必
要とする各種店舗監視用のセキュリティシステムを構成
することができるという効果も得られる。
[Thirteenth Embodiment] A moving picture transmission apparatus according to a thirteenth embodiment of the present invention is different from the twelfth embodiment (FIG. 8) in that a moving picture transmission apparatus 400 is different from the ninth embodiment. (FIG. 7). According to this configuration, even if a bit error occurs, a video of good image quality can be displayed and recorded at a remote value, and a security system for monitoring various stores that requires video recording can be configured. The effect that can be obtained is also obtained.

【0073】[第14の実施の形態]本発明の第14の
実施の形態の動画像伝送装置は、第13の実施の形態
(図8)とは、動画像伝送装置400を第10の実施の形
態(図8)の構成とした点が相違している。この構成に
よれば、ビットエラーが発生しても良好な画質の映像を
遠隔値で表示し、かつ記録することができ、映像記録を
必要とする各種店舗監視用のセキュリティシステムを構
成することができるという効果も得られる。
[Fourteenth Embodiment] A moving image transmission apparatus according to a fourteenth embodiment of the present invention is different from the thirteenth embodiment (FIG. 8) in that a moving image transmission apparatus 400 is different from the tenth embodiment. (FIG. 8). According to this configuration, even if a bit error occurs, a video of good image quality can be displayed and recorded at a remote value, and a security system for monitoring various stores that requires video recording can be configured. The effect that can be obtained is also obtained.

【0074】なお、VLC部108などが前記符号化手段を構
成し、スイッチ部200、加算器205などが前記画像再生手
段を構成し、マクロブロックカウント部130などが前記
マクロブロックカウント手段を構成し、inter/intra判
定部100などが前記インタレース/ノンインタレース判
定手段を構成し、直交変換部104などが前記直交変換手
段を構成し、同期マクロブロック判定部240などが前記
同期マクロブロック判定手段を構成し、同期パターンチ
ェック部250などが前記同期パターンチェック手段を構
成し、動き補償部120などが前記動き補償手段を構成
し、加算器205などが前記加算手段を構成し、スイッチ
部200などが前記スイッチ手段を構成し、前記ネットワ
ーク、ネットワークI/F部140、150などが前記伝送手段
を構成し、同期パターンチェック部250などが前記エラ
ー計測手段を構成し、動き補償部120などが前記挿入間
隔変更手段を構成し、ネットワークI/F部150などが前記
エラー頻度送出手段を構成し、ネットワークI/F部140な
どが前記エラー頻度入力手段を構成し、同期パターンチ
ェック部250などが位置出力手段を構成し、ネットワー
クI/F部150などが位置送出手段を構成し、ネットワーク
I/F部140などが位置入力手段を構成し、動き補償部120
などが参照抑制手段を構成し、画像記録装置260などが
前記録画手段を構成する。
The VLC unit 108 and the like constitute the encoding means, the switch unit 200, the adder 205 and the like constitute the image reproducing means, and the macroblock counting unit 130 and the like constitute the macroblock counting means. , The inter / intra determination unit 100 and the like constitute the interlace / non-interlace determination unit, the orthogonal transformation unit 104 and the like constitute the orthogonal transformation unit, and the synchronous macroblock determination unit 240 and the like constitute the synchronous macroblock determination unit. The synchronous pattern checking unit 250 and the like constitute the synchronous pattern checking means, the motion compensating unit 120 and the like constitute the motion compensating means, the adder 205 and the like constitute the adding means, the switch unit 200 and the like. Constitute the switch means, the network, network I / F sections 140 and 150 constitute the transmission means, and the synchronization pattern check section 250 and the like constitute the switch means. -Constitute a measuring means, the motion compensating section 120 and the like constitute the insertion interval changing means, the network I / F section 150 and the like constitute the error frequency sending means, the network I / F section 140 and the like constitute the error frequency The input means is constituted, the synchronization pattern check section 250 and the like constitute position output means, the network I / F section 150 and the like constitute position sending means, and
The I / F unit 140 and the like constitute a position input unit, and the motion compensation unit 120
And the like constitute reference suppression means, and the image recording device 260 and the like constitute the recording means.

【0075】[0075]

【発明の効果】本発明によれば、従来の誤り訂正符号に
よらず、簡潔に誤り検出を行なうことが可能である。例
えば、動画像符号化を行なう場合、ビットストリーム中
に、同期確認用の固定ビットパターンを一定間隔のマク
ロブロック毎に挿入し、同期パターンチェック手段を設
けて伝送路でのエラー発生を検出するので、通常のエラ
ー訂正方式のように冗長符号を加算する必要がなく、こ
の冗長符号の加算によって伝送効率を低下させることが
ない。また、動画像復号化装置から動画像符号化装置へ
ビットエラー発生状況をフィードバックすることで、同
期確認パターンの挿入間隔を調整することにも容易に対
応できる。さらに、無線伝送路を用いた動画像伝送装置
に容易に対応でき、伝送路エラー発生時でも、映像の乱
れを空間的/時間的に局在化して画質を保つことができ
る。
According to the present invention, simple error detection can be performed without using a conventional error correction code. For example, when performing moving picture encoding, a fixed bit pattern for synchronization confirmation is inserted into a bit stream for each macroblock at a fixed interval, and a synchronization pattern check unit is provided to detect occurrence of an error in a transmission path. There is no need to add a redundant code as in a normal error correction method, and the addition of the redundant code does not lower the transmission efficiency. Further, by feeding back the bit error occurrence status from the video decoding device to the video encoding device, it is possible to easily adjust the insertion interval of the synchronization confirmation pattern. Furthermore, it is possible to easily cope with a moving image transmission device using a wireless transmission path, and even when a transmission path error occurs, it is possible to localize image disturbance spatially / temporally and maintain image quality.

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

【図1】本発明の第1〜第3の実施の形態の動画像符号
化装置の構成を示すブロック図
FIG. 1 is a block diagram illustrating a configuration of a moving image encoding device according to first to third embodiments of the present invention.

【図2】本発明の第4の実施の形態の動画像符号化装置
の構成を示すブロック図
FIG. 2 is a block diagram illustrating a configuration of a moving picture encoding device according to a fourth embodiment of the present invention.

【図3】本発明の第5の実施の形態の動画像符号化装置
の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a moving picture coding apparatus according to a fifth embodiment of the present invention.

【図4】本発明の第6の実施の形態の動画像符号化装置
の構成を示すブロック図
FIG. 4 is a block diagram showing a configuration of a video encoding device according to a sixth embodiment of the present invention.

【図5】本発明の第7の実施の形態の動画像伝送装置の
構成を示すブロック図
FIG. 5 is a block diagram illustrating a configuration of a moving image transmission device according to a seventh embodiment of the present invention.

【図6】本発明の第8の実施の形態の動画像伝送装置の
構成を示すブロック図
FIG. 6 is a block diagram illustrating a configuration of a moving image transmission device according to an eighth embodiment of the present invention.

【図7】本発明の第9、第10の実施の形態の動画像伝
送装置の構成を示すブロック図
FIG. 7 is a block diagram illustrating a configuration of a moving image transmission device according to ninth and tenth embodiments of the present invention.

【図8】本発明の第11〜第14の実施の形態の動画像
伝送装置の構成を示すブロック図
FIG. 8 is a block diagram illustrating a configuration of a moving image transmission device according to the first to fourteenth embodiments of the present invention.

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

100 inter/intra判定部 102 スイッチ部(No.1) 104 直交変換部 106 量子化部 108 VLC部 110 バッファ部 112 逆量子化部 114 逆直交変換部 116 フレームメモリ部 118 スイッチ部(No.2) 120 動き補償部 130 マクロブロックカウント部 132 同期パターン作成指示部 140、150 ネットワークI/F部 160 バッファ部 170 VLD部 180 逆量子化部 190 逆直交変換部 200 スイッチ部 205 加算器 210 動き補償部 220 フレームメモリ部 230 モニタ部 240 同期マクロブロック判定部 250 同期パターンチェック部 100 inter / intra determination unit 102 switch unit (No. 1) 104 orthogonal transform unit 106 quantization unit 108 VLC unit 110 buffer unit 112 inverse quantization unit 114 inverse orthogonal transform unit 116 frame memory unit 118 switch unit (No. 2) Reference Signs List 120 motion compensation unit 130 macroblock counting unit 132 synchronization pattern creation instruction unit 140, 150 network I / F unit 160 buffer unit 170 VLD unit 180 inverse quantization unit 190 inverse orthogonal transformation unit 200 switch unit 205 adder 210 motion compensation unit 220 Frame memory unit 230 Monitor unit 240 Synchronous macroblock determining unit 250 Synchronous pattern check unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 関根 晨貴 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 Fターム(参考) 5C059 KK01 LA07 MA00 MA04 MA05 MA23 MC11 ME01 NN21 NN28 RB12 RC02 RC16 RF01 RF28 SS11 TA24 TA46 TB07 TC03 TC11 TD04 TD06 UA02 UA05 5J064 AA01 BA09 BA16 BB03 BC01 BC05 BC16 BD02 BD03  ────────────────────────────────────────────────── ─── Continuing from the front page (72) Inventor, Seiki Sekine 4-3-1 Tsunashimahigashi, Kohoku-ku, Yokohama-shi, Kanagawa F-term (reference) in Matsushita Communication Industrial Co., Ltd. 5C059 KK01 LA07 MA00 MA04 MA05 MA23 MC11 ME01 NN21 NN28 RB12 RC02 RC16 RF01 RF28 SS11 TA24 TA46 TB07 TC03 TC11 TD04 TD06 UA02 UA05 5J064 AA01 BA09 BA16 BB03 BC01 BC05 BC16 BD02 BD03

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 符号化マクロブロック数をカウントし、
一定数のマクロブロック毎に同期マクロブロックの挿入
を指示するマクロブロックカウント手段と、前記同期マ
クロブロックで、多種類の選択が可能なマクロブロック
付随情報中の一項目を固定値に符号化するよう、指示を
出力する同期パターン作成指示手段と、この同期パター
ン作成指示手段の指示に従って固定値を符号化する符号
化手段と、前記同期マクロブロックか否かを判定する同
期マクロブロック判定手段と、前記同期マクロブロック
で、マクロブロック付随情報の固定値が符号化時の値と
同一か否かを判定してビットエラーを検出する同期パタ
ーンチェック手段と、ビットエラー検出時には、入力マ
クロブロックと同一位置の参照画像を再生画像とする画
像再生手段とを設けたことを特徴とする動画像伝送装
置。
1. Counting the number of coded macroblocks,
Macroblock counting means for instructing the insertion of a synchronous macroblock for each of a fixed number of macroblocks, and one item in the macroblock ancillary information from which various kinds of selectable macroblocks can be encoded to a fixed value by the synchronous macroblock. A synchronization pattern creation instructing means for outputting an instruction, an encoding means for encoding a fixed value in accordance with the instruction of the synchronization pattern creation instructing means, a synchronous macroblock determining means for determining whether or not the synchronous macroblock, In a synchronous macroblock, a synchronous pattern check means for detecting whether or not a fixed value of macroblock accompanying information is the same as the value at the time of encoding and detecting a bit error; A moving image transmission apparatus comprising: an image reproducing unit that uses a reference image as a reproduced image.
【請求項2】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、参照画像を動き補償して予測画像とする
ための強制動き補償予測信号をオンとする同期パターン
作成指示手段と、前記参照画像を動き補償して予測画像
とする対象の強制的動き補償予測マクロブロックで、動
き補償を有効と判定する動き補償手段とを設けたことを
特徴とする動画像符号化装置。
2. A macroblock counting means for counting the number of coded macroblocks and outputting an instruction to insert a synchronous macroblock, and receiving the instruction to insert a synchronous macroblock, motion-compensating a reference image to generate a predicted image and A synchronous pattern creation instructing unit for turning on a forced motion compensation prediction signal for performing motion compensation, and a motion for which motion compensation is effective in a compulsory motion compensation prediction macroblock to be subjected to motion compensation for the reference image as a prediction image. A moving picture coding apparatus comprising a compensation means.
【請求項3】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、参照画像を動き補償して予測画像とする
ための強制動き補償予測信号をオンとする同期パターン
作成指示手段と、前記参照画像を動き補償して予測画像
とする対象の強制動き補償予測マクロブロックで、動き
補償を有効と判定し、かつ複数種類存在する動き補償モ
ード中、予め定めた特定モードを選択する動き補償手段
とを設けたことを特徴とする動画像符号化装置。
3. A macroblock counting means for counting the number of coded macroblocks and outputting an instruction to insert a synchronous macroblock, and receiving the instruction to insert a synchronous macroblock, motion-compensating a reference image to generate a predicted image and A synchronous pattern creation instructing means for turning on a forced motion compensation prediction signal for performing motion compensation, and a motion compensation compensation prediction macroblock to be used as a prediction image by performing motion compensation on the reference image, and determine that motion compensation is valid; and A moving image encoding apparatus, comprising: a motion compensation unit that selects a predetermined specific mode from among a plurality of types of motion compensation modes.
【請求項4】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、参照画像を動き補償して予測画像とする
ための強制動き補償予測信号とオンとする同期パターン
作成指示手段と、前記参照画像を動き補償して予測画像
とする対象の強制動き補償予測マクロブロックで、動き
補償を有効と判定し、かつ動き量を零とする動き補償手
段とを設けたことを特徴とする動画像符号化装置。
4. A macroblock counting means for counting the number of encoded macroblocks and outputting an instruction to insert a synchronous macroblock, and receiving the instruction to insert a synchronous macroblock, motion-compensating a reference image to generate a predicted image and A motion pattern compensating prediction signal for turning on the reference pattern, a motion compensating prediction macroblock to be used as a prediction image by motion compensating the reference image, and determining that motion compensation is valid; and A moving picture encoding apparatus, comprising: a motion compensating unit for setting a motion amount to zero.
【請求項5】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、無条件でフレーム内符号化を施すための
強制フレーム内符号化選択信号をオンとする同期パター
ン作成指示手段と、前記無条件でフレーム内符号化を施
す対象の強制フレーム内符号化マクロブロックで、フレ
ーム内符号化を選択するインタレース/ノンインタレー
ス判定手段とを設けたことを特徴とする動画像符号化装
置。
5. A macroblock counting means for counting the number of coded macroblocks and outputting an instruction to insert a synchronous macroblock, and receiving the instruction to insert a synchronous macroblock to unconditionally perform intra-frame encoding. A synchronous pattern creation instructing means for turning on the forced intra-frame encoding selection signal, and an interlaced / interlaced / macro-coded macroblock to be subjected to unconditional intra-frame encoding. A moving picture coding apparatus comprising a non-interlace determining means.
【請求項6】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、フレーム構造で離散コサイン変換するた
めの強制フレーム離散コサイン変換選択信号をオンとす
る同期パターン作成指示手段と、前記強制フレーム離散
コサイン変換選択信号がオンの時は、無条件でフレーム
離散コサイン変換を選択して直交変換する直交変換手段
とを設けたことを特徴とする動画像符号化装置。
6. A macroblock counting means for counting the number of coded macroblocks and outputting an instruction to insert a synchronous macroblock, and for inputting the instruction to insert a synchronous macroblock, forcibly performing discrete cosine transform in a frame structure. Synchronous pattern creation instructing means for turning on the frame discrete cosine transform selection signal; and orthogonal transform means for unconditionally selecting the frame discrete cosine transform and orthogonally transforming when the forced frame discrete cosine transform selection signal is on. A moving picture encoding device, comprising:
【請求項7】 符号化マクロブロック数をカウントして
同期マクロブロックの挿入指示を出力するマクロブロッ
クカウント手段と、前記同期マクロブロックの挿入指示
を入力すると、固定量子化幅を出力する同期パターン作
成指示手段とを設けたことを特徴とする動画像符号化装
置。
7. A macroblock counting means for counting the number of coded macroblocks and outputting a synchronous macroblock insertion instruction, and generating a synchronous pattern for outputting a fixed quantization width when the synchronous macroblock insertion instruction is input. A moving picture coding apparatus comprising an instruction unit.
【請求項8】 請求項2〜7のいずれかに記載の動画像
符号化装置と、この動画像符号化装置と伝送手段によっ
て接続された動画像復号化装置とを設け、この動画像復
号化装置にさらに復号処理マクロブロック数をカウント
し、予め定めた間隔のマクロブロック毎に同期パターン
チェック指示を出力する同期マクロブロック判定手段
と、同期パターンチェック指示を入力すると、前記マク
ロブロックが予め定めた同期パターンを含むか否かによ
りストリームエラーを判定する同期パターンチェック手
段と、ストリームエラー発生時は、前記復号化マクロブ
ロックと同一位置の参照画像を出力させる動き補償手段
と、前記参照画像を出力するためのスイッチ手段と、再
生画像を出力するための加算手段とを設け、同期パター
ン異常時は、前フレームの同一場所の画像を再度出力す
ることを特徴とする動画像伝送装置。
8. A moving picture encoding apparatus according to claim 2, further comprising: a moving picture decoding apparatus connected to said moving picture encoding apparatus by a transmission means. The apparatus further counts the number of decoding macroblocks, outputs a synchronization pattern check instruction for each macroblock at a predetermined interval, and inputs a synchronization pattern check instruction. A synchronization pattern checking unit that determines a stream error based on whether a synchronization pattern is included, a motion compensation unit that outputs a reference image at the same position as the decoded macroblock when a stream error occurs, and outputs the reference image. Switch means and an addition means for outputting a reproduced image. A moving image transmitting apparatus for outputting an image of the same location of a moving image again.
【請求項9】 前記動画像復号化装置でストリームエラ
ー発生頻度を計測するエラー計測手段と、前記ストリー
ムエラー発生頻度を前記動画像符号化装置へ伝送するた
めにネットワークへ送出するエラー頻度送出手段と、前
記ストリームエラー発生頻度を前記ネットワークより動
画像符号化装置へ入力するエラー頻度入力手段と、前記
ストリームエラー発生頻度が増加した場合は、前記動画
像符号化装置で前記同期マクロブロックの挿入間隔を狭
める一方で、前記ストリームエラー発生頻度が減少した
場合には、前記同期マクロブロックの挿入間隔を広める
挿入間隔変更手段とを設けたことを特徴とする請求項8
に記載の動画像伝送装置。
9. An error measuring unit for measuring a stream error occurrence frequency in the video decoding device, and an error frequency sending unit for sending the stream error occurrence frequency to a network for transmission to the video encoding device. Error frequency input means for inputting the stream error occurrence frequency from the network to a video encoding device, and, when the stream error occurrence frequency increases, the video encoding device sets an insertion interval of the synchronous macroblock. 9. An insertion interval changing means for increasing an insertion interval of the synchronous macroblock when the stream error occurrence frequency decreases while narrowing the interval.
5. The moving image transmission device according to item 1.
【請求項10】 前記動画像復号化装置でストリームエ
ラーが発生した画面内の水平位置、垂直位置を出力する
位置出力手段と、前記水平位置、垂直位置を前記ネット
ワークへ送出する位置送出手段と、前記水平位置、垂直
位置を前記動画像符号化装置へ入力する位置入力手段
と、前記水平位置、垂直位置を動き補償予測時の参照画
像とすることを抑制する参照抑制手段とを設けたことを
特徴とする請求項8に記載の動画像伝送装置。
10. A position output means for outputting a horizontal position and a vertical position in a screen where a stream error has occurred in the video decoding device, a position sending means for sending the horizontal position and the vertical position to the network, The horizontal position and the vertical position are input to the moving image encoding device position input means, and the horizontal position, the vertical position is provided with reference suppression means for suppressing the reference image at the time of motion compensation prediction provided that The moving picture transmission device according to claim 8, wherein
【請求項11】 前記動画像復号化装置でストリームエ
ラー発生頻度を計測するエラー計測手段と、前記ストリ
ームエラー発生頻度を前記ネットワークへ送出するエラ
ー頻度送出手段と、前記ストリームエラー発生頻度を前
記動画像符号化装置へ入力するエラー頻度入力手段と、
前記ストリームエラー発生頻度が上昇した場合は、前記
動画像符号化装置で動き補償予測するブロック比率を減
少させる一方で、前記ストリームエラー発生頻度が下降
した場合には、動き補償予測するブロック比率を増加さ
せる動き補償手段とを設けたことを特徴とする請求項8
に記載の動画像伝送装置。
11. An error measuring means for measuring a stream error occurrence frequency in the video decoding device, an error frequency sending means for sending the stream error occurrence frequency to the network, and an error frequency sending means for sending the stream error occurrence frequency to the moving image. Error frequency input means for inputting to the encoding device;
When the stream error occurrence frequency increases, the block ratio for motion compensated prediction in the video encoding device decreases, while when the stream error occurrence frequency decreases, the block ratio for motion compensated prediction increases. 9. A motion compensating means for causing motion compensation is provided.
5. The moving image transmission device according to item 1.
【請求項12】 請求項8に記載の動画像伝送装置と、
録画手段とを設けたことを特徴とする動画像伝送記録装
置。
12. The moving picture transmission device according to claim 8, wherein:
A moving image transmission / recording apparatus comprising a recording means.
【請求項13】 請求項9に記載の動画像伝送装置と、
録画手段とを設けたことを特徴とする動画像伝送記録装
置。
13. The moving picture transmission device according to claim 9,
A moving image transmission / recording apparatus comprising a recording means.
【請求項14】 請求項10に記載の動画像伝送装置
と、録画手段とを設けたことを特徴とする動画像伝送記
録装置。
14. A moving image transmission and recording device comprising the moving image transmission device according to claim 10 and recording means.
【請求項15】 請求項11に記載の動画像伝送装置
と、録画手段とを設けたことを特徴とする動画像伝送記
録装置。
15. A moving picture transmission and recording apparatus comprising the moving picture transmission apparatus according to claim 11 and a recording means.
JP2001011864A 2001-01-19 2001-01-19 Moving image encoding device, moving image transmitting device and moving image transmitting and recording device Pending JP2002218469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001011864A JP2002218469A (en) 2001-01-19 2001-01-19 Moving image encoding device, moving image transmitting device and moving image transmitting and recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001011864A JP2002218469A (en) 2001-01-19 2001-01-19 Moving image encoding device, moving image transmitting device and moving image transmitting and recording device

Publications (1)

Publication Number Publication Date
JP2002218469A true JP2002218469A (en) 2002-08-02

Family

ID=18878951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001011864A Pending JP2002218469A (en) 2001-01-19 2001-01-19 Moving image encoding device, moving image transmitting device and moving image transmitting and recording device

Country Status (1)

Country Link
JP (1) JP2002218469A (en)

Similar Documents

Publication Publication Date Title
JP4537583B2 (en) Error concealment of video signal
JP5007012B2 (en) Video encoding method
EP1205076B1 (en) Video coding
US5703889A (en) High efficiency coding signal processing apparatus with error propagation influence reduction
KR100313285B1 (en) Early error detection within an mpeg decoder
US20030012286A1 (en) Method and device for suspecting errors and recovering macroblock data in video coding
JPH09121358A (en) Picture coding/decoding device and its method
US20020101924A1 (en) Video data processing apparatus, video data encoding apparatus, and methods thereof
JP3519441B2 (en) Video transmission equipment
JPH0818979A (en) Image processor
JP3415548B2 (en) Moving picture decoding apparatus and moving picture decoding method
JPH10322704A (en) Bit stream data decoder
JP2002325259A (en) Method for coding digital image base on error correction
JP2002218469A (en) Moving image encoding device, moving image transmitting device and moving image transmitting and recording device
KR100319734B1 (en) Method and apparatus for encoding image signal
JPH0937244A (en) Moving image data error detector
JPH1155663A (en) Image transmitter and image transmission method
JP2003087792A (en) Moving image encoder
JP2887177B2 (en) Method and apparatus for decoding moving image compression code
JP3474859B2 (en) Moving picture coding apparatus and moving picture coding method
KR100397133B1 (en) Method and System for compressing/transmiting of a picture data
US20020031274A1 (en) Method and apparatus for coding a digitized original picture and method and apparatus for decoding a digitized coded picture
KR100220579B1 (en) Method for detecting error of bit stream in h.263 algorithm
JP3474861B2 (en) Moving picture decoding apparatus and moving picture decoding method
JP3474860B2 (en) Moving picture coding apparatus and moving picture coding method