JP2000023154A - Moving image encoder - Google Patents

Moving image encoder

Info

Publication number
JP2000023154A
JP2000023154A JP18432098A JP18432098A JP2000023154A JP 2000023154 A JP2000023154 A JP 2000023154A JP 18432098 A JP18432098 A JP 18432098A JP 18432098 A JP18432098 A JP 18432098A JP 2000023154 A JP2000023154 A JP 2000023154A
Authority
JP
Japan
Prior art keywords
coding
encoding
picture
parameter
moving picture
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
JP18432098A
Other languages
Japanese (ja)
Inventor
Tadahiro Oku
忠宏 奥
Mitsunori Omokawa
光教 面川
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP18432098A priority Critical patent/JP2000023154A/en
Publication of JP2000023154A publication Critical patent/JP2000023154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the encoded output of high image quality at all times by judging an encoding parameter for realizing optimum encoding in real time and switching encoded output data. SOLUTION: This encoder is provided with plural moving image encoding parts 1(2A), 2(2B) and 3(2C), an input part 10 for simultaneously inputting input moving images to the plural moving image encoding parts, a system control part 1 for independently setting the respectively different plural encoding parameters to the plural moving image encoding parts and parallelly encoding the input moving images and an encoded output data selection part 3 for selecting optional one from the encoded output data of the plural moving image encoding parts. The system control part 1 judges the encoding parameter for performing the encoding of high quality based on encoded results in the plural moving image encoding parts and controls the encoded output data selection part 3 so as to select the encoded output data at the time of performing the encoding by the encoding parameter.

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 compressing and coding a moving picture.

【0002】[0002]

【従来の技術】例えば、動画像をリアルタイムでMPE
G2符号化方式(ITU−T H.262)で符号化を
行う動画像符号化装置では、多くの符号化パラメータを
設定することが可能である。図6は、Iピクチャまた
は、Pピクチャの周期Mが、1,2,3の場合の符号化
ピクチャの構成及び動きベクトルによる動き補償の方向
を示している。
2. Description of the Related Art For example, a moving image is processed in real-time
In a moving picture coding apparatus that performs coding using the G2 coding method (ITU-T H.262), it is possible to set many coding parameters. FIG. 6 shows the configuration of a coded picture and the direction of motion compensation using a motion vector when the period M of an I picture or a P picture is 1, 2, or 3.

【0003】また、図7は、MPEG2符号化装置の一
般的な構成を示す図であり、入力オーダ並び替え部10
0と、動きベクトル補償部(MC)101と、DCT変
換部102と、量子化部103と、可変長符号化部10
4と、逆量子化部105と、逆DCT変換部106と、
ローカルデコードフレームメモリ107と、動きベクト
ル検出部(ME)108と、符号化制御部109とを具
備する。
FIG. 7 is a diagram showing a general configuration of an MPEG2 encoding apparatus.
0, a motion vector compensator (MC) 101, a DCT transformer 102, a quantizer 103, and a variable length encoder 10
4, an inverse quantization unit 105, an inverse DCT transform unit 106,
It includes a local decode frame memory 107, a motion vector detection unit (ME) 108, and an encoding control unit 109.

【0004】ところで、リアルタイムで符号化を行う
際、高画質の符号化を行うために自動で制御可能なパラ
メータ(例えば、動き補償モードやDCTモード)も存
在するが、自動で判定を行うことが難しい符号化パラメ
ータも存在する。例えば、図6に示すように、Mの値が
大きいほどIピクチャ及びPピクチャの画面間の距離が
大きくなり、動きが大きく複雑な入力動画像の場合には
動きベクトル検出の正確さが低下し、動き補償による符
号化効率が低下する場合がある。このような場合には、
Mの値が小さな符号化ピクチャ構成の方が高い画質が得
られる可能性が高いことが一般的には知られている。
[0004] By the way, when performing encoding in real time, there are parameters (for example, a motion compensation mode and a DCT mode) which can be automatically controlled in order to perform encoding with high image quality. There are also difficult coding parameters. For example, as shown in FIG. 6, as the value of M is larger, the distance between the screens of the I picture and the P picture becomes larger, and in the case of an input moving image with a large motion, the accuracy of the motion vector detection is reduced. In some cases, coding efficiency due to motion compensation may decrease. In such a case,
It is generally known that a coded picture configuration with a small value of M is more likely to obtain higher image quality.

【0005】[0005]

【発明が解決しようとする課題】しかし、実際にどのよ
うな符号化ピクチャの構成が、リアルタイムで入力する
画像に対して高画質の符号化を実現するのに適している
かは入力画像に依存するため、実際に符号化してみなけ
れば判定することが難しく、これを従来の符号化装置の
構成でリアルタイムに制御することは難しい。したがっ
て、従来は、オペレータが用途や入力画像信号の性質を
経験的に判断し、符号化を開始する前に符号化パラメー
タを設定していた。
However, what kind of coded picture is actually suitable for realizing high quality coding for an image input in real time depends on the input image. For this reason, it is difficult to make a determination unless encoding is actually performed, and it is difficult to control this in real time with the configuration of a conventional encoding device. Therefore, conventionally, the operator has empirically determined the purpose of use and the properties of the input image signal, and has set the coding parameters before starting the coding.

【0006】また、動きベクトル検出(ME)では、動
きベクトルの検出部の演算処理能力が一定の場合、動き
ベクトル検出精度と動きベクトル検出範囲が処理能力に
より制限され、動きベクトル検出範囲を広くした場合、
動きベクトル検出精度は粗くなり、逆に動きベクトル検
出範囲を狭くした場合、動きベトクル検出精度は細かく
なる。動きベトクル検出部の動きベトクル検出範囲と動
きベトクル検出精度を制御可能な符号化装置の場合、リ
アルタイムで符号化を行う際における入力画像の動きが
小さい場合には動きベトクル検出範囲を狭く、検出精度
を細かくする方が一般的には良いと考えられるが、どの
ような設定が適切かは、実際に符号化を行った結果を見
なければ正確に判断することが難しかった。
In addition, in the motion vector detection (ME), when the calculation processing capability of the motion vector detection unit is constant, the motion vector detection accuracy and the motion vector detection range are limited by the processing capability, and the motion vector detection range is widened. If
The motion vector detection accuracy becomes coarse, and conversely, when the motion vector detection range is narrowed, the motion vector detection accuracy becomes fine. In the case of an encoding device that can control the motion vector detection range and the motion vector detection accuracy of the motion vector detection unit, the motion vector detection range is narrow if the motion of the input image is small when encoding in real time. Is generally considered better, but it is difficult to determine exactly what setting is appropriate without looking at the result of actual encoding.

【0007】本発明はこのような課題に着目してなされ
たものであり、その目的とするところは、複数個の動画
像符号化部に対してそれぞれ異なる複数の符号化パラメ
ータを独立に設定して並列的に入力動画像の符号化を行
わせ、最適な符号化を実現する符号化パラメータをリア
ルタイムで判定して、選択するべき符号化出力データを
切り替えることで常に高画質な符号化出力を得ることが
できる動画像符号化装置を提供することにある。
The present invention has been made in view of such a problem, and an object thereof is to independently set a plurality of different coding parameters for a plurality of moving picture coding units. To perform encoding of the input video in parallel, determine the encoding parameters for realizing the optimal encoding in real time, and switch the encoded output data to be selected to always output a high-quality encoded output. It is an object of the present invention to provide a moving picture coding device that can be obtained.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めに、第1の発明に係る動画像符号化装置は、複数個の
動画像符号化部と、入力動画像を前記複数個の動画像符
号化部に同時に入力する入力部と、前記複数個の動画像
符号化部に対してそれぞれ異なる複数の符号化パラメー
タを独立に設定して並列的に入力動画像の符号化を行わ
せる制御部とを具備し、前記制御部は、前記複数個の動
画像符号化部での符号化結果に基づいて高品質の符号化
を行う符号化パラメータを判定し、当該符号化パラメー
タで符号化を行ったときの符号化出力データを選択する
ように制御を行なう。
According to a first aspect of the present invention, there is provided a moving picture coding apparatus comprising: a plurality of moving picture coding units; An input unit for simultaneously inputting to an image encoding unit, and control for independently setting a plurality of different encoding parameters for the plurality of video encoding units and encoding the input video in parallel Unit, the control unit determines an encoding parameter to perform high-quality encoding based on the encoding result in the plurality of video encoding units, and performs encoding with the encoding parameter. Control is performed so as to select the encoded output data at the time of execution.

【0009】また、第2の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
動画像符号化装置がMPEG2符号化方式によるもので
あり、前記制御部は符号化パラメータとして、フレーム
内符号化画像(Iピクチャ)または、フレーム間順方向
予測符号化画像(Pピクチャ)の周期を前記複数個の動
画像符号化部に独立に設定する。
The video encoding apparatus according to a second aspect of the present invention is the video encoding apparatus according to the first aspect, wherein the video encoding apparatus is based on the MPEG2 encoding system, Sets the period of the intra-frame coded image (I picture) or the inter-frame forward prediction coded image (P picture) as an encoding parameter independently for the plurality of video encoding units.

【0010】また、第3の発明に係る動画像符号化装置
は、第2の発明に係る動画像符号化装置において、前記
複数個の動画像符号化部に設定されるフレーム内符号化
画像(Iピクチャ)の周期が同一であり、また、前記複
数個の動画像符号化部の符号化遅延が同一である。
A video encoding apparatus according to a third aspect of the present invention is the video encoding apparatus according to the second aspect, wherein the intra-frame encoded image ( I picture) has the same period, and the plurality of moving picture coding units have the same coding delay.

【0011】また、第4の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
動画像符号化装置がMPEG2符号化方式によるもので
あり、前記符号化結果として得られる符号化画像の画質
を表すデータとして符号化画像のSNRを用い、前記制
御部は、フレーム内符号化画像(Iピクチャ)の周期で
前記SNRが大きくなる符号化パラメータを高品質の符
号化を行う符号化パラメータであると判定する。
In a fourth aspect of the present invention, in the moving picture coding apparatus according to the first invention, the moving picture coding apparatus is based on an MPEG2 coding method. Using the SNR of the coded image as data representing the image quality of the resulting coded image, the control unit sets a coding parameter with which the SNR increases in the cycle of the intra-frame coded image (I picture) to a high quality. It is determined that the parameter is an encoding parameter for encoding.

【0012】また、第5の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
動画像符号化装置がMPEG2符号化方式によるもので
あり、前記符号化画像の画質を表すデータとして、符号
化画像のフレーム内符号化画像(Iピクチャ)の平均量
子化スケールを用い、前記制御部は、フレーム内符号化
画像(Iピクチャ)の周期で前記フレーム内符号化画像
(Iピクチャ)の平均量子化スケールが小さくなる符号
化パラメータを高品質の符号化を行う符号化パラメータ
であると判定する。
Further, a moving picture coding apparatus according to a fifth aspect of the present invention is the moving picture coding apparatus according to the first invention, wherein the moving picture coding apparatus uses an MPEG2 coding method. The controller uses the average quantization scale of the intra-frame coded image (I-picture) of the coded image as data representing the image quality of the image, and the control unit determines the intra-frame coded image (I-picture) at a period of the intra-frame coded image (I-picture). It is determined that the coding parameter that reduces the average quantization scale of the coded image (I picture) is a coding parameter for performing high-quality coding.

【0013】また、第6の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
動画像符号化装置がMPEG2符号化方式によるもので
あり、前記複数個の動画像符号化部の符号化パラメータ
として、動きベクトル検出範囲及び検出精度を制御す
る。
[0013] Further, a moving picture coding apparatus according to a sixth invention is the moving picture coding apparatus according to the first invention, wherein the moving picture coding apparatus is based on the MPEG2 coding system. The motion vector detection range and the detection accuracy are controlled as the coding parameters of the moving image coding unit.

【0014】また、第7の発明に係る動画像符号化装置
は、第6の発明に係る動画像符号化装置において、前記
符号化結果として得られる符号化画像の画質を表すデー
タとしてピクチャ間の動き補償誤差を用い、前記制御部
は、この動き補償誤差が小さくなる符号化パラメータを
高品質の符号化を行う符号化パラメータであると判定す
る。
The video encoding apparatus according to a seventh aspect of the present invention is the video encoding apparatus according to the sixth aspect, wherein the data representing the image quality of the encoded image obtained as the encoding result is inter-picture data. Using the motion compensation error, the control unit determines that the encoding parameter in which the motion compensation error is small is an encoding parameter for performing high-quality encoding.

【0015】また、第8の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
符号化出力データ選択部が、前記符号化出力データの切
り替えを行うセレクターを備えている。
Further, the video encoding apparatus according to an eighth aspect of the present invention is the video encoding apparatus according to the first aspect, wherein the encoded output data selection section switches the encoded output data. It has.

【0016】また、第9の発明に係る動画像符号化装置
は、第1の発明に係る動画像符号化装置において、前記
制御部が高品質の符号化を行う符号化パラメータである
と判定された符号化パラメータを、前記複数個の動画像
符号化部のうちの特定の1つの動画像符号化部に設定し
て符号化を行なわせ、この特定の1つの動画像符号化部
の符号化出力データを選択するようにする。
Further, according to a ninth aspect of the present invention, in the moving image encoding apparatus according to the first aspect, the control unit is determined to be an encoding parameter for performing high quality encoding. The coding parameter is set in a specific one of the plurality of video coding units to perform coding, and the coding of the specific one video coding unit is performed. Select output data.

【0017】すなわち、本発明の動画像符号化装置で
は、複数個の動画像符号化部に対してそれぞれ異なる複
数の符号化パラメータを独立に設定して並列的に入力動
画像の符号化を行わせ、このときの符号化結果に基づい
て高品質の符号化を行う符号化パラメータを判定し、当
該符号化パラメータで符号化を行ったときの符号化出力
データを選択するようにしたので、最適な符号化を実現
する符号化パラメータをリアルタイムで判定して、選択
するべき符号化出力データを切り替えることで常に高画
質な符号化出力を得ることができるようになる。
That is, in the moving picture coding apparatus of the present invention, a plurality of different coding parameters are independently set for a plurality of moving picture coding units, and the input moving picture is coded in parallel. In addition, the encoding parameter for performing high-quality encoding is determined based on the encoding result at this time, and encoded output data when encoding is performed with the encoding parameter is selected. By determining the encoding parameters for realizing the optimal encoding in real time and switching the encoded output data to be selected, it is possible to always obtain an encoded output with high image quality.

【0018】[0018]

【発明の実施の形態】まず、本発明の実施形態の概略を
説明する。本実施形態では、複数個の動画像符号化部を
準備し、この複数個の動画像符号化部に対してそれぞれ
異なる複数の符号化パラメータを独立に設定してシステ
ム制御部の制御により並列的に入力動画像の符号化を行
わせる。そして、各動画像符号化部で計算した符号化後
の画質を表すデータをシステム制御部に出力する。シス
テム制御部は入力された各動画像符号化部からの符号化
後の画質を表すデータを評価しながら最適な符号化パラ
メータをある周期毎に判断し、この最適な符号化パラメ
ータに対応する符号化出力データを選択するように符号
化出力データ選択部を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the outline of an embodiment of the present invention will be described. In the present embodiment, a plurality of moving picture coding units are prepared, and a plurality of different coding parameters are set independently for the plurality of moving picture coding units, and are controlled in parallel by the control of the system control unit. To encode the input moving image. Then, data representing the image quality after encoding calculated by each moving image encoding unit is output to the system control unit. The system control unit evaluates data representing the image quality after encoding from each of the moving image encoding units and determines an optimal encoding parameter for each certain period, and determines a code corresponding to the optimal encoding parameter. The encoded output data selection unit is controlled so as to select the encoded output data.

【0019】以下、図面を参照して本発明の実施形態を
詳細に説明する。図1は、本発明の第1実施形態の構成
を示すブロック図であり、入力端子(入力部)10に接
続された並列動作する複数の動画像符号化部1(2
A),2(2B),3(2C)と、この複数の動画像符
号化部1(2A),2(2B),3(2C)の符号化出
力データから任意の出力データを選択するセレクターを
具備する符号化データ出力選択部3と、複数の動画像符
号化部1(2A),2(2B),3(2C)の動作と、
符号化データ出力選択部3の動作を制御するシステム制
御部1とから構成される。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. A plurality of moving image encoding units 1 (2) connected to an input terminal (input unit) 10 and operating in parallel.
A), 2 (2B), 3 (2C), and a selector for selecting arbitrary output data from the encoded output data of the plurality of video encoding units 1 (2A), 2 (2B), 3 (2C). And an operation of the encoded data output selecting unit 3 having the following, and a plurality of moving image encoding units 1 (2A), 2 (2B), and 3 (2C):
And a system controller 1 for controlling the operation of the encoded data output selector 3.

【0020】本実施形態では、動画像符号化方式とし
て、MPEG2符号化方式を行う。並列に動作する符号
化部に設定する異なる符号化パラメータには、フレーム
内符号化画像(Iピクチャ)または、フレーム間順方向
予測符号化画像(Pピクチャ)の周期(M)を使用す
る。また、符号化画像の画質を表すデータとして符号化
画像のSNR(Signal to Noise Ratio )を用い、切り
換えは、GOP(Group of Picture )単位で行う。
In the present embodiment, an MPEG2 encoding system is used as a moving image encoding system. The different encoding parameters set in the encoding units operating in parallel use the period (M) of the intra-frame encoded image (I picture) or the inter-frame forward prediction encoded image (P picture). The SNR (Signal to Noise Ratio) of the encoded image is used as data representing the image quality of the encoded image, and switching is performed in GOP (Group of Picture) units.

【0021】システム制御部1は、並列に動作する動画
像符号化部1(2A),2(2B),3(2C)に符号
化パラメータを設定する。動画像符号化部1(2A)
は、フレーム内符号画像(Iピクチャ)または、フレー
ム間順方向予測符号化画像(Pピクチャ)の周期(M)
を3として符号化を行うように設定する。動画像符号化
部2(2B)は、フレーム内符号化画像(Iピクチャ)
または、フレーム間順方向予測符号化画像(Pピクチ
ャ)の周期(M)を2として符号化を行う様に設定す
る。動画像符号化部3(2C)は、フレーム内符号化画
像(Iピクチャ)または、フレーム間順方向予測符号化
画像(Pピクチャ)の周期(M)を3として符号化を行
う様に設定する。また、システム制御部1は、初期状態
での動画像符号化部の出力の選択を決め、符号化データ
出力選択部3を制御し、初期状態での動画像符号化デー
タは、出力端子11に出力される。
The system control unit 1 sets coding parameters for the moving picture coding units 1 (2A), 2 (2B), and 3 (2C) operating in parallel. Video encoding unit 1 (2A)
Is the period (M) of the intra-frame coded image (I picture) or the inter-frame forward prediction coded image (P picture)
Is set to 3 and encoding is performed. The video encoding unit 2 (2B) encodes the intra-frame encoded image (I picture)
Alternatively, it is set so that the encoding is performed with the period (M) of the inter-frame forward prediction encoded image (P picture) being set to 2. The moving picture coding unit 3 (2C) sets the coding so that the cycle (M) of the intra-coded picture (I picture) or the inter-frame forward prediction coded picture (P picture) is set to 3. . Further, the system control unit 1 determines the selection of the output of the video encoding unit in the initial state, controls the encoded data output selection unit 3, and outputs the encoded video data in the initial state to the output terminal 11. Is output.

【0022】入力端子10から入力した動画像信号は、
並列に動作する動画像符号化部1(2A),2(2
B),3(2C)に入力される。図2は図1の各動画像
符号化部1(2A),2(2B),3(2C)の構成を
示すブロック図であり、前記した図7の構成にSNR計
算部32が追加されている。符号化制御部21は、シス
テム制御部1からの制御に従い符号化制御を行う。例え
ば、動画像符号化部1(2A)の符号化制御部は、M=
3で符号化を行うように制御を行う。動画像符号化部2
(2B)の符号化制御部は、M=2で符号化を行うよう
に制御を行う。動画像符号化部3(2C)の符号化制御
部は、M=1で符号化を行うように制御を行う。
The moving image signal input from the input terminal 10 is
Video encoding units 1 (2A) and 2 (2
B), 3 (2C). FIG. 2 is a block diagram showing the configuration of each of the video encoding units 1 (2A), 2 (2B), and 3 (2C) in FIG. 1. The SNR calculation unit 32 is added to the configuration of FIG. I have. The encoding control unit 21 performs encoding control according to the control from the system control unit 1. For example, the encoding control unit of the moving image encoding unit 1 (2A) calculates M =
The control is performed so as to perform the encoding in Step 3. Video encoding unit 2
The encoding control unit (2B) performs control so as to perform encoding at M = 2. The encoding control unit of the video encoding unit 3 (2C) performs control such that encoding is performed with M = 1.

【0023】入力端子40に入力された動画像信号は、
入力オーダ並び替え部23、及び動きベクトル検出部
(ME)24に入力される。入力オーダ並び替え部23
では、符号化制御部21の制御に従い、Mの値に応じた
入力画像の並び替えを行い、符号化順序に並び替えた動
画像信号を、動きベクトル補償部(MC)25及びSN
R計算化部32に出力する。この時、動画像符号化部1
(2A)、動画像符号化部2(2B)、動画像符号化部
3(2C)での符号化遅延が同一となるように並び替え
を行う。この時のタイミングを図6に示す。
The moving image signal input to the input terminal 40 is
It is input to the input order rearranging section 23 and the motion vector detecting section (ME) 24. Input order sorting unit 23
In accordance with the control of the encoding control unit 21, the input images are rearranged according to the value of M, and the moving image signals rearranged in the encoding order are converted into motion vector compensating units (MC) 25 and SN
Output to the R calculator 32. At this time, the moving image encoding unit 1
(2A), rearrangement is performed so that the encoding delays in the video encoding unit 2 (2B) and the video encoding unit 3 (2C) are the same. FIG. 6 shows the timing at this time.

【0024】動きベクトル検出部(ME)24では、M
の値に応じて、符号化に必要な動きベクトルの検出を入
力動画像信号及びローカルデコードフレームメモリ31
から出力されるローカルデコード信号を検出し、動きベ
クトル補償部(MC)25に出力する。動きベクトル補
償部(MC)25では、入力符号化順の動画像信号とロ
ーカルデコードフレームメモリ31から出力されたロー
カルデコード信号との動き補償を行い、DCT変換部2
6に動き補償誤差信号を出力する。DCT変換部26は
この動き補償誤差信号をDCT変換して量子化部27に
出力する。
In the motion vector detecting section (ME) 24, M
, The detection of the motion vector necessary for encoding is performed by the input moving image signal and the local decode frame memory 31.
And outputs it to the motion vector compensator (MC) 25. The motion vector compensator (MC) 25 performs motion compensation between the moving picture signal in the input encoding order and the local decode signal output from the local decode frame memory 31, and the DCT converter 2
6 outputs a motion compensation error signal. The DCT transform unit 26 performs a DCT transform on the motion compensation error signal and outputs it to the quantization unit 27.

【0025】量子化部27では、DCT変換された動き
補償誤差信号を符号化部制御部21の制御に従って量子
化を行い、可変長符号化部28及び逆量子化部29に量
子化信号を出力する。可変長符号化部28は、符号化部
制御部21の制御に従って可変長符号化を行い、出力端
子41に符号化データを出力する。逆量子化部29では
入力された量子化信号を逆量子化し、逆DCT変換部3
0に出力する。逆DCT変換部30では、入力された逆
量子化信号に対して逆DCT変換を行い、ローカルデコ
ードフレームメモリ31に出力する。
The quantization section 27 quantizes the DCT-transformed motion compensation error signal under the control of the coding section control section 21 and outputs the quantized signal to the variable length coding section 28 and the inverse quantization section 29. I do. The variable length coding unit 28 performs variable length coding under the control of the coding unit control unit 21 and outputs coded data to an output terminal 41. In the inverse quantization unit 29, the input quantized signal is inversely quantized, and the inverse DCT transform unit 3
Output to 0. The inverse DCT transform unit 30 performs an inverse DCT transform on the input inverse quantized signal and outputs the result to the local decode frame memory 31.

【0026】ローカルデコードフレームメモリ31で
は、符号化制御部21の制御に従って入力された逆DC
T信号よりローカルデコード信号を生成し、ローカルデ
コードフレームメモリ31に保存するとともに、必要な
ローカルデコード信号を動きベクトル検出部(ME)2
4、動きベクトル補償部(MC)25、SNR計算部3
2に出力する。SNR計算部32では、入力オーダ並び
替え部23から入力された符号化順の動画像信号につい
て、ローカルデコードフレームメモリ31から出力され
るローカルデコード信号によりフレーム単位でSNRを
計算し、符号化制御部21に出力する。動画像符号化部
1(2A),2(2B),3(2C)の符号化制御部2
1は、フレーム単位のSNRを符号化データの画質を表
すデータとしてシステム制御部1に出力する。
In the local decode frame memory 31, the inverse DC signal inputted under the control of the
A local decode signal is generated from the T signal and stored in the local decode frame memory 31, and the necessary local decode signal is converted to a motion vector detector (ME) 2
4. Motion vector compensator (MC) 25, SNR calculator 3
Output to 2. The SNR calculation unit 32 calculates the SNR in units of frames for the video signals in the coding order input from the input order rearranging unit 23 using the local decode signal output from the local decode frame memory 31, and the coding control unit 21. Encoding control unit 2 of moving image encoding units 1 (2A), 2 (2B), and 3 (2C)
1 outputs the SNR of each frame to the system control unit 1 as data representing the image quality of encoded data.

【0027】システム制御部1では、動画像符号化部1
(2A),2(2B),3(2C)から入力したフレー
ム単位のSNRから、動画像符号化部1(2A),2
(2B),3(2C)の1GOP期間のSNRを計算
し、最も良いSNRを実現している動画像符号化部を判
定する。システム制御部1は、このときの判定結果を元
に次の1GOP期間の符号化データ出力を行う動画像符
号化部を、符号化データ出力選択部3を制御することで
選択し、高画質を得られる符号化データを出力端子11
に出力する。
The system control unit 1 includes a moving image encoding unit 1
From the SNRs of the frame units input from (2A), 2 (2B), and 3 (2C), the video encoding units 1 (2A), 2 (2A)
The SNRs for one GOP period of (2B) and 3 (2C) are calculated, and the moving picture coding unit that achieves the best SNR is determined. The system control unit 1 selects a moving image encoding unit that outputs encoded data for the next 1 GOP period by controlling the encoded data output selection unit 3 based on the determination result at this time, and achieves high image quality. The obtained encoded data is output to an output terminal 11
Output to

【0028】図3は符号化データ出力選択部3の動作を
示す図である。どの動画像符号化部が高画質の符号化を
実現しているかは1GOPの符号化終了毎に行う。初期
状態では、動画像符号化部1(2A)の符号化データ1
_GOP(0)が選択され出力される様に、符号化出力
データ選択部3は制御される。GOP(0)の符号化が
終了したタイミングでどの動画像符号化部の符号化性能
が良いかを判定し、次のGOP(1)期間に出力される
符号化データを選択する。図3では、GOP(0)符号
化終了時に動画像符号化部2(2B)の符号化パラメー
タが、高い画質を実現していると判断されたので次のG
OP(1)の出力符号化データとして2_GOP(1)
が選択されて出力される。
FIG. 3 is a diagram showing the operation of the encoded data output selector 3. Which moving picture coding unit realizes high quality coding is performed every time one GOP coding is completed. In the initial state, the encoded data 1 of the video encoding unit 1 (2A)
The encoded output data selection unit 3 is controlled such that _GOP (0) is selected and output. At the timing when the encoding of GOP (0) is completed, it is determined which moving image encoding unit has good encoding performance, and encoded data output in the next GOP (1) period is selected. In FIG. 3, at the end of GOP (0) encoding, the encoding parameters of the moving image encoding unit 2 (2B) are determined to realize high image quality, so the next G
2_GOP (1) as output encoded data of OP (1)
Is selected and output.

【0029】次に図面を参照して本発明の第2実施形態
を説明する。図4は、本発明の第2実施形態の構成を示
すブロック図である。本実施形態では符号化データ出力
選択部を有しておらず、動画像符号化部1(2A)の符
号化データが常に符号化データ出力端子11に出力され
るように構成されている。システム制御部1は、動画像
符号化部1(2A),2(2B),3(2C)から出力
される符号化データに対応する画質を表すデータからど
の符号化パラメータが良いかを判断し、高画質を実現す
る符号化パラメータを動画像符号化部1の符号化パラメ
ータとして使用する事で符号化データ出力端子11に常
に高画質を実現する符号化データを出力する。
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram showing the configuration of the second embodiment of the present invention. This embodiment does not have the encoded data output selection unit, and is configured so that the encoded data of the video encoding unit 1 (2A) is always output to the encoded data output terminal 11. The system control unit 1 determines which coding parameter is better from the data representing the image quality corresponding to the coded data output from the moving picture coding units 1 (2A), 2 (2B), and 3 (2C). By using an encoding parameter for realizing high image quality as an encoding parameter of the moving image encoding unit 1, encoded data for realizing high image quality is always output to the encoded data output terminal 11.

【0030】図5に符号化パラメータ切り換えの状態を
示す。システム制御部1は、動画像符号化部1(2
A),2(2B),3(2C)に初期状態の符号化パラ
メータを設定し、GOP(0)の符号化を開始する。G
OP(0)の符号化期間中は、動画像符号化部1(2
A)に設定された符号化パラメータPARA_1で符号
化された符号化データが出力される。GOP(0)符号
化終了のタイミングで、どの動画像符号化部の符号化性
能が良いかを判定し、次のGOP(1)期間に動画像符
号化部1(2A)に設定する符号化パラメータを判定し
て設定する。
FIG. 5 shows a state of switching the encoding parameters. The system control unit 1 includes a moving image encoding unit 1 (2
A), 2 (2B), and 3 (2C) are set with the encoding parameters in the initial state, and encoding of GOP (0) is started. G
During the encoding period of OP (0), the video encoding unit 1 (2
The encoded data encoded by the encoding parameter PARA_1 set in A) is output. At the end of GOP (0) coding, it is determined which moving picture coding unit has good coding performance, and the coding to be set in the moving picture coding unit 1 (2A) in the next GOP (1) period Determine and set parameters.

【0031】図5の実施形態では、動画像符号化部2
(2B)の符号化パラメータPARA_2が良い符号化
性能を実現すると判断され、動画像符号化部1(2A)
のGOP(1)に対する符号化パラメータとして設定さ
れ、それまで動画像符号化部1(2A)で使用されてい
た符号化パラメータPARA_1が動画像符号化部2
(2B)の符号化パラメータとして設定されてGOP
(1)の符号化が行われる。この様に入力動画像に応じ
て符号化パラメータを切り替えて符号化を行うことで高
画質を実現する符号化データを常に出力することが可能
となる。
In the embodiment shown in FIG. 5, the moving picture coding unit 2
It is determined that the coding parameter PARA_2 of (2B) realizes good coding performance, and the moving image coding unit 1 (2A)
Is set as an encoding parameter for GOP (1), and the encoding parameter PARA_1 previously used in the moving image encoding unit 1 (2A) is
GOP set as an encoding parameter of (2B)
The encoding of (1) is performed. As described above, by performing encoding by switching the encoding parameter according to the input moving image, it is possible to always output encoded data realizing high image quality.

【0032】[0032]

【発明の効果】本発明によれば、複数個の動画像符号化
部に対してそれぞれ異なる複数の符号化パラメータを独
立に設定して並列的に入力動画像の符号化を行わせ、最
適な符号化を実現する符号化パラメータをリアルタイム
で判定して、選択するべき符号化出力データを切り替え
るようにしたので、常に高画質な符号化出力を得ること
ができる動画像符号化装置を提供することができる。
According to the present invention, a plurality of moving picture coding units are independently set with a plurality of different coding parameters to perform coding of an input moving picture in parallel, thereby achieving an optimum To provide a moving picture coding apparatus capable of always determining a coding parameter for realizing coding and switching coding output data to be selected, so that a high quality coding output can be obtained. Can be.

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

【図1】本発明の第1実施形態に係る動画像符号化装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a video encoding device according to a first embodiment of the present invention.

【図2】図1の各動画像符号化部の詳細な構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a detailed configuration of each video encoding unit in FIG. 1;

【図3】本発明の第1実施形態における出力符号化デー
タの切り換えの様子を示す図である。
FIG. 3 is a diagram illustrating a state of switching output encoded data according to the first embodiment of the present invention.

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

【図5】本発明の第2実施形態における符号化パラメー
タ切り換えによる出力符号化データ切り換えの様子を示
す図である。
FIG. 5 is a diagram showing how output encoded data is switched by switching encoding parameters in a second embodiment of the present invention.

【図6】MPEG2符号化方式における符号化ピクチャ
構成の違いを説明する図である。
FIG. 6 is a diagram for explaining a difference in a coded picture configuration in the MPEG2 coding method.

【図7】MPEG2符号化方式の一般的なブロック図で
ある。
FIG. 7 is a general block diagram of an MPEG2 encoding method.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK26 LA09 MA00 MA05 MA23 MC11 MC31 MC38 ME01 NN03 NN28 PP05 PP06 TA17 TA63 TB03 TC03 TD05 UA02 UA33 UA38  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK26 LA09 MA00 MA05 MA23 MC11 MC31 MC38 ME01 NN03 NN28 PP05 PP06 TA17 TA63 TB03 TC03 TD05 UA02 UA33 UA38

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数個の動画像符号化部と、 入力動画像を前記複数個の動画像符号化部に同時に入力
する入力部と、 前記複数個の動画像符号化部に対してそれぞれ異なる複
数の符号化パラメータを独立に設定して並列的に入力動
画像の符号化を行わせる制御部と、 を具備し、 前記制御部は、前記複数個の動画像符号化部での符号化
結果に基づいて高品質の符号化を行う符号化パラメータ
を判定し、当該符号化パラメータで符号化を行ったとき
の符号化出力データを選択するように制御を行なうこと
を特徴とする動画像符号化装置。
A plurality of moving image encoding units; an input unit for simultaneously inputting an input moving image to the plurality of moving image encoding units; and a plurality of different moving image encoding units. A control unit configured to independently set a plurality of coding parameters and perform coding of the input moving image in parallel, wherein the control unit calculates a coding result in the plurality of moving image coding units. Video coding, wherein a coding parameter for performing high-quality coding is determined based on the coding parameter, and control is performed so as to select coded output data when coding is performed with the coding parameter. apparatus.
【請求項2】 前記動画像符号化装置はMPEG2符号
化方式によるものであり、前記制御部は符号化パラメー
タとして、フレーム内符号化画像(Iピクチャ)また
は、フレーム間順方向予測符号化画像(Pピクチャ)の
周期を前記複数個の動画像符号化部に独立に設定するこ
とを特徴とする請求項1記載の動画像符号化装置。
2. The moving picture coding apparatus according to the MPEG2 coding system, wherein the control unit sets an intra-frame coded picture (I picture) or an inter-frame forward prediction coded picture (I-picture) as a coding parameter. 2. The moving picture coding apparatus according to claim 1, wherein a period of the P picture is set independently for the plurality of moving picture coding units.
【請求項3】 前記複数個の動画像符号化部に設定され
るフレーム内符号化画像(Iピクチャ)の周期が同一で
あり、前記複数個の動画像符号化部の符号化遅延が同一
である事を特徴とする請求項2記載の動画像符号化装
置。
3. A cycle of an intra-frame coded picture (I picture) set in the plurality of moving picture coding units is the same, and coding delays of the plurality of moving picture coding units are the same. 3. The moving picture coding apparatus according to claim 2, wherein:
【請求項4】 前記動画像符号化装置はMPEG2符号
化方式によるものであり、前記符号化結果として得られ
る符号化画像の画質を表すデータとして符号化画像のS
NRを用い、前記制御部は、フレーム内符号化画像(I
ピクチャ)の周期で前記SNRが大きくなる符号化パラ
メータを高品質の符号化を行う符号化パラメータである
と判定することを特徴とする請求項1記載の動画像符号
化装置。
4. The moving picture coding apparatus according to the MPEG2 coding method, wherein the data of the coded picture as data representing the quality of the coded picture obtained as the coding result is S
Using the NR, the control unit controls the intra-frame coded image (I
The moving picture coding apparatus according to claim 1, wherein the coding parameter that increases the SNR in a cycle of (picture) is determined to be a coding parameter for performing high-quality coding.
【請求項5】 前記動画像符号化装置はMPEG2符号
化方式によるものであり、前記符号化画像の画質を表す
データとして、符号化画像のフレーム内符号化画像(I
ピクチャ)の平均量子化スケールを用い、前記制御部
は、フレーム内符号化画像(Iピクチャ)の周期で前記
フレーム内符号化画像(Iピクチャ)の平均量子化スケ
ールが小さくなる符号化パラメータを高品質の符号化を
行う符号化パラメータであると判定することを特徴とす
る請求項1記載の動画像符号化装置。
5. The moving picture coding apparatus according to the MPEG2 coding system, wherein data representing the image quality of the coded picture is an intra-frame coded picture (I
Using the average quantization scale of the intra-frame coded image (I-picture), the control unit increases the encoding parameter at which the average quantization scale of the intra-frame coded image (I-picture) decreases in the cycle of the intra-frame coded image (I-picture). The moving picture coding apparatus according to claim 1, wherein the moving picture coding apparatus determines that the parameter is a coding parameter for performing quality coding.
【請求項6】 前記動画像符号化装置はMPEG2符号
化方式によるものであり、前記複数個の動画像符号化部
の符号化パラメータとして、動きベクトル検出範囲及び
検出精度を制御することを特徴とする請求項1記載の動
画像符号化装置。
6. The video encoding apparatus according to the MPEG2 encoding system, wherein a motion vector detection range and a detection accuracy are controlled as encoding parameters of the plurality of video encoding units. The moving picture coding apparatus according to claim 1.
【請求項7】 前記符号化結果として得られる符号化画
像の画質を表すデータとしてピクチャ間の動き補償誤差
を用い、前記制御部は、この動き補償誤差が小さくなる
符号化パラメータを高品質の符号化を行う符号化パラメ
ータであると判定することを特徴とする請求項6記載の
動画像符号化装置。
7. A motion compensation error between pictures is used as data representing the image quality of an encoded image obtained as a result of the encoding, and the control unit determines an encoding parameter with which the motion compensation error is small as a high-quality code. The moving picture coding apparatus according to claim 6, wherein the moving picture coding apparatus determines that the coding parameter is a coding parameter for performing coding.
【請求項8】 前記複数個の動画像符号化部の符号化出
力データの切り替えを行うセレクターを備えた事を特徴
とする請求項1記載の動画像符号化装置。
8. The moving picture coding apparatus according to claim 1, further comprising a selector for switching coded output data of said plurality of moving picture coding units.
【請求項9】 前記制御部は、高品質の符号化を行う符
号化パラメータであると判定された符号化パラメータ
を、前記複数個の動画像符号化部のうちの特定の1つの
動画像符号化部に設定して符号化を行なわせ、この特定
の1つの動画像符号化部の符号化出力データを選択する
ようにしたことを特徴とする請求項1記載の動画像符号
化装置。
9. The moving image coding apparatus according to claim 1, wherein the control unit converts the coding parameter determined to be a coding parameter for performing high-quality coding into a specific one of the plurality of moving image coding units. 2. The moving picture coding apparatus according to claim 1, wherein the coding unit is set to perform the coding, and the coded output data of the specific one moving picture coding unit is selected.
JP18432098A 1998-06-30 1998-06-30 Moving image encoder Pending JP2000023154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18432098A JP2000023154A (en) 1998-06-30 1998-06-30 Moving image encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18432098A JP2000023154A (en) 1998-06-30 1998-06-30 Moving image encoder

Publications (1)

Publication Number Publication Date
JP2000023154A true JP2000023154A (en) 2000-01-21

Family

ID=16151280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18432098A Pending JP2000023154A (en) 1998-06-30 1998-06-30 Moving image encoder

Country Status (1)

Country Link
JP (1) JP2000023154A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081411A (en) * 2008-09-26 2010-04-08 Toshiba Corp Frame interpolation device and frame interpolation method
US7720999B2 (en) 2002-11-26 2010-05-18 Qualcomm Incorporated System and method for optimizing multimedia compression using plural encoders
WO2010106670A1 (en) 2009-03-19 2010-09-23 富士通株式会社 Image coding apparatus, image coding control method and image coding program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720999B2 (en) 2002-11-26 2010-05-18 Qualcomm Incorporated System and method for optimizing multimedia compression using plural encoders
JP2010213297A (en) * 2002-11-26 2010-09-24 Qualcomm Inc System and method for optimizing multimedia compression using plural encoders
JP2010081411A (en) * 2008-09-26 2010-04-08 Toshiba Corp Frame interpolation device and frame interpolation method
WO2010106670A1 (en) 2009-03-19 2010-09-23 富士通株式会社 Image coding apparatus, image coding control method and image coding program
US20120002725A1 (en) * 2009-03-19 2012-01-05 Fujitsu Limited Video coding apparatus and video coding control method
JP5267655B2 (en) * 2009-03-19 2013-08-21 富士通株式会社 Image coding apparatus, image coding control method, and image coding program
US8681864B2 (en) 2009-03-19 2014-03-25 Fujitsu Limited Video coding apparatus and video coding control method

Similar Documents

Publication Publication Date Title
US9271004B2 (en) Method and system for parallel processing video data
US9258567B2 (en) Method and system for using motion prediction to equalize video quality across intra-coded frames
US5805222A (en) Video coding apparatus
US20070098067A1 (en) Method and apparatus for video encoding/decoding
JPH05344493A (en) Dynamic image coder
KR20000068666A (en) Variable bitrate video coding method and corresponding video coder
JP2006157881A (en) Variable-length coding device and method of same
EP1280356A2 (en) Apparatus and method for compressing multiplexed video signals
US6271774B1 (en) Picture data processor, picture data decoder and picture data encoder, and methods thereof
JP4733800B2 (en) Image compression method and apparatus for implementing the method
JP3355964B2 (en) Adaptive orthogonal transform mode determination method
JP2000023154A (en) Moving image encoder
JP2002010270A (en) Device and method for coding images
JPH07135657A (en) Method and device for coding
JP2001025016A (en) Moving image encoder and method therefor
JP3581382B2 (en) Encoding device and method
JP2002199408A (en) Moving image coding method and moving image coder
US20070071092A1 (en) System and method for open loop spatial prediction in a video encoder
KR0123243B1 (en) Bit rate control method in a scene conversion
JP2001008207A (en) Dynamic image coder and method therefor
KR100778473B1 (en) Bit rate control method
KR20040066397A (en) Image Compression System for Digital Video Surveillance and Method for controlling the Same
JPH08307878A (en) Image coding method and device
JP3363476B2 (en) Encoding device and method
JP2001309383A (en) Picture encoder and method for encoding picture